Connection String on Java Hosting Package
4 posts
• Page 1 of 1
Connection String on Java Hosting Package
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
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
Re: Connection String on Java Hosting Package
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.
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.
- alexandrema
- Posts: 1
- Joined: 10 Jan 2015, 08:41
Re: Connection String on Java Hosting Package
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
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
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests