Skip to main content
1-Visitor
January 14, 2015
Solved

Integrity10 Server, install or import war-file (JavaEE WebApp)

  • January 14, 2015
  • 1 reply
  • 4777 views

Hello everyone,

i wrote an Java EE web-application that communicates via the Java API with our Intergrity-Server.

This Application works on my locale JBoss or Tomcat Server fine.

Now i want to put this application on our Integrity-server, but i do not know how that works.

I searched in the installation path of the integrity server, there i found many .war-files.

I also tried some paths, but noone works.

I hope i get help here.

Thanks in advance.

Best regards

    Best answer by LLawton

    I'm not sure about whole WAR files, but I know you can put custom files under <IntegrityServer Root>/data/.

    Typically, JSP files will go in some subfolder of public_html, and JAR and classes go under java.

    You have to restart the service for changes to take effect for java (not web files).

    1 reply

    21-Topaz I
    January 14, 2015

    Hello Berislav,

    I am not a coding expert so I do not know if a Java EE web application is any different from a regular Java class/utility. In a different thread I had posted some example code I use when troubleshooting API connection issues. See the first try{} block for the connection set-up:

    http://communities.ptc.com/message/231044#231044

    Note that having an external API utility requires having a copy of the mksapi.jar included in your classpath to make use of the connection methods for Integrity. You can find a copy of this in either the Integrity Server or Client (client jar location is generally C:\Program Files (x86)\Integrity\IntegrityClient10\lib\mksapi.jar).

    1-Visitor
    January 14, 2015

    Hello Joseph,

    first thank you for answering my question.

    The problem is not the connection to integrity, its also not an Integrity api problem.

    An Java web application have to run on an server.

    The application is an website which have buttons and text output and so on.

    When it run on a server more users can use the same application, via for example localhost:7001/myaplication.jsp

    The Integrity Server is a kind of jBoss or TomCat, where you can put your application (jsp- or .war(compressed) file) in the installation directory of the integrity server and then start it like mentioned before.

    My question is where i have to put the application (my jsp files or my .war file)

    21-Topaz I
    January 15, 2015

    Thanks for the clarification, Berislav. That is not a customization I am familiar with, but perhaps one of the PTC Global Services people or someone else who has done this before can respond to the thread.