5 Replies Latest reply: Jul 9, 2012 8:05 AM by Laurent Matheo RSS

Mid Tier configuration

Sweety Khanna

Hi Experts,

 

I am getting attached error while accessing mid tier. It seems to be a configuration issue with tomcat. While installing mid tier I choose tomcat6 and later uninstalled tomcat6 and installed tomcat7 but its not working.

 

Please help me in configuring tomcat7 for mid tier 7.6.04.

 

Thanks in advance.

  • 1. Mid Tier configuration
    Carl Wilson

    Hi,

    what is the full address you are attempting to access.

    It seems like the server and port are missing from the path that is displayed in the error message.

     

    Can you hit the Tomcat page? e.g. http://{server}:{port}/

     

    Have you checked the structure of the Tomcat installation directory to see that the Mid Tier was deployed correctly?

     

    The easiest way to install the Mid Tier is to install Tomcat, then deploy the Mid Tier war file (after renaming),   Plenty of discussions available on how to perform this, plus the Guides also document this.

     

    Cheers

    Carl

     

    http://www.missingpiecessoftware.com/

  • 2. Re: Mid Tier configuration
    Sweety Khanna

    I am trying to access config.jsp page and url is //localhost:8080/arsys/shared/config/config.jsp

     

    Can you hit the Tomcat page? e.g. http://{server}:{port}/ - Yes, Tomcat is running fine on local server http://localhost:8080

     

    Have you checked the structure of the Tomcat installation directory to see that the Mid Tier was deployed correctly? - How to do this, please advice ?

     

    The easiest way to install the Mid Tier is to install Tomcat, then deploy the Mid Tier war file (after renaming),   Plenty of discussions available on how to perform this, plus the Guides also document this - Can you please provide the document for this, I searched but couldn't find anything.

  • 3. Re: Mid Tier configuration
    Laurent Matheo

    Can you hit the Tomcat page? e.g. http://{server}:{port}/ - Yes, Tomcat is running fine on local server http://localhost:8080

     

    Can you hit Mid-Tier page then?

    http://localhost:8080/arsys

     

     

    Have you checked the structure of the Tomcat installation directory to see that the Mid Tier was deployed correctly? - How to do this, please advice ?

     

    In your Tomcat installation folder you should have a "/webapps/" folder, if the mid-tier is deployed, you should have a "/webapps/arsys/" folder.

     

     

     

    The easiest way to install the Mid Tier is to install Tomcat, then deploy the Mid Tier war file (after renaming),   Plenty of discussions available on how to perform this, plus the Guides also document this - Can you please provide the document for this, I searched but couldn't find anything.

    You could download "MidTier.war" (or "midtierlinux.war" if it's under linux, or choose the right one).

    -> Rename it to "arsys.war".

    -> Open the Tomcat Manager if you can access it (from http://localhost:8080/ page usually) and ask to deploy "arsys.war". Perhaps you'll have to define a user to log in to manager page "/conf/tomcat-users.xml":

    <user name="username" password="hispassword" roles="standard,manager-script" />

    http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html

     

    Or using the auto deploy from Tomcat:

    -> Rename it to "arsys.war".

    -> copy the "arsys.war" into the "/webapps/" folder, Tomcat should automatically deploy it (auto deploy function).

    For the auto deploy to work, in the "/conf/server.xml" file from Tomcat you should have "autodeploy=true" et "unpackwars=true", something like:

    <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

    You would need to stop / start Tomcat for the modifications to the server.xml to be validated.

  • 4. Mid Tier configuration
    Sweety Khanna

    Hi,

     

    I tried auto deploy and it worked....

     

    Thanks for your support...

  • 5. Mid Tier configuration
    Laurent Matheo

    Ok cool