Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

application move assistance  RSS feed

 
JP Flint
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure where to post this, but here is the scenario:
a vendor has created (a while back) a java application for my company on redhat 7.0 and orion app server 1.5.2.
The server has failed and the vendor is out of business!
I have been tasked with the challenge of moving the application to fedora 5 and tomcat 5.15.
The server is setup and tomcat is running.
however:
I am not familiar with either application server to know how configure tomcat to match the orion files recovered from backup.

I have moved all of the files to the webapps folder and used the web manager to point to the files. I have also redirected port 8080 to port 80 using iptables.

The index.jsp file works however the database (informix) will not connect.

Any assistance will be appreciated
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that's way to vague for any detailed help.

i'd try to deploy a test class to tomcat and see if this can connect to the database or not. also check the error-logs, and try to put debug-output into crucial parts of your code.

what you also should do is integrate tomcat into your ide and debug through the start-up of your application.

if you have more detailed information, post it here and people might be able to help you...

many greetings,
jan

ps: your name does not follow the naming policy, which is bad.
 
JP Flint
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jan,
In orion there is a file called data-sources.xml in /usr/local/orion/config/ that defines the jdbc,


<data-source
name="Informix"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/StLucieDS"
pooled-location="jdbc/pooled/StLucieDS"
xa-location="jdbc/xa/StLucieXADS"
ejb-location="jdbc/StLucieEJBDS"
url="jdbc:informix-sqli://10.3.127.10:1530/stlucie:INFORMIXSERVER=stlucie_tli;ENABLE_TYPE_CACHE=1;DBDATE=MDY4/" schema="database-schemas/informix.xml"
connection-driver="com.informix.jdbc.IfxDriver"
username="informix"
password="xxxxxxx"
/>
<data-source
name="Informix"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/StLucieMetaDS"
pooled-location="jdbc/pooled/StLucieMetaDS"
xa-location="jdbc/xa/StLucieMetaXADS"
ejb-location="jdbc/StLucieMetaEJBDS"
url="jdbc:informix-sqli://10.3.127.10:1530/metadata:INFORMIXSERVER=stlucie_tli;ENABLE_TYPE_CACHE=1;DBDATE=MDY4/" schema="database-schemas/informix.xml"
connection-driver="com.informix.jdbc.IfxDriver"
username="informix"
password="xxxxxxx"
/>

where would i put that in tomcat?


p.s. what is wrong with my name?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!