Connection String on Java Hosting Package

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 1
Joined: 21 Feb 2014, 18:09

Connection String on Java Hosting Package

21 Feb 2014, 18:55

hello,
i'm trying to set up a jsp application on IIS.

the previous setup was this:
\jboss\server\default\deploy\app.war
\jboss\server\default\deploy\oracle-ds.xml <--- contains this: <connection-url>jdbc:oracle:thin:@localhost:1521:xe</connection-url>
(that was done by someone else, i have never worked with jsp before)

i followed the instructions on this article http://www.helicontech.com/articles/dep ... -with-iis/
and the .war file seems to be working fine

the problem is i have no idea where to put the connection string

thanks in advance

User avatar
Posts: 110
Joined: 07 Mar 2012, 10:22

Re: Connection String on Java Hosting Package

24 Feb 2014, 10:22

Hello!

It is seems like you need make JDBC resources in app context:
Tomcat docs: http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#JDBC_Data_Sources
Jetty docs: https://wiki.eclipse.org/Jetty/Howto/Configure_JNDI_Datasource

Jetty context file located at: C:\Zoo\Workers\jetty\zoo-war\contexts\war.xml

Thanks.

User avatar
Posts: 1
Joined: 10 Jan 2015, 08:41

Re: Connection String on Java Hosting Package

12 Jan 2015, 09:50

hi guys,

i have the same trouble. i edit the war.xml located at C:\Zoo\Workers\jetty\zoo-war\contexts\war.xml but it doesnt works. how can i troubleshoot ?

thanks

User avatar
Posts: 27
Joined: 13 Apr 2015, 03:03

Re: Connection String on Java Hosting Package

13 Apr 2015, 03:29

Thanks you :)

Educa

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 19 guests