Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDeveloper 9.0.3 Production deploying to tomcat 4.1.12 1

Status
Not open for further replies.

renevanmaanen

Programmer
Nov 12, 2002
2
US
I am trying to deploy a bc4j app to tomcat 4.1.12. Herefor i generated a WAR-file and placed that in the tomcat "webapps" directory. I restart the server and the application is available. The only thing is, that i get the next error message: Only one of the two parameters datasource or viewobject should be defined.

Does anyone now the solution or the cause of this problem?
 
I get the same error but not on version 4.0 of Tomcat. I think it may have something to do with the jsp tags.
 
I also have this problem. I am using the example in the directory of BC4J in Jdeveloper9.0.3.
It is an advanced online order sample.
There have a existing workspace file.after setup the workspace, I find a delpoy file named myappwar.deploy in JSPClient project. Then I deploy this project to a war file.

After copying this war file, I modified the server.xml in /conf of tomcat installation directory to include the web-context. Then restart Tomcat. I can access to main.html,but fail to access further. My tomcat is 4.0.3.
Can anybody try again and share your information? Because the files are existing. It will not take you much time.

Thanks!
 
Tomcat 4.12 NEEDS both <servlet> and <servlet-mapping> tags. If you define a servlet &quot;serv&quot;, you can notcall it by invoking /serv anymore , but rather should map this servlet to the url /serv:

<servlet>
<servlet-name>SendMailServlet</servlet-name>
<servlet-class>SendMailServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>SendMailServlet</servlet-name>
<url-pattern>/SendMailServlet</url-pattern>
</servlet-mapping>
Regards, Dima
 
Sem, Have you the successful experience to deploy web applicaiton to Tomcat? If yes, can you take the online order project in JDev as a sample? Thanks in advance.

 
Hi all,
This is a very interesting topic; I'm having the same problem; I've deployed an apps (JSP for BC) , that works fine with the jdev embedded BC4J, but when I deploy the apps, to Tomcat 4.1.18 I'm having 2 problems.

1 - First at all, the table is opened but I can't see the table with the info, I can only see a drop down control with the pages (standard feature of jdev generator)

2 - when I select a range of pages or a filter, or anything in this JSP page, I'm getting this error.

******************************
org.apache.jasper.JasperException: Only one of the two parameters target or targetParam should be defined.
********************************


Can anyone help me on this issue.??

TYIA

 
mail from Ivic (Mar 14, 2003) helped me to solve the problem

I'm working with tomcat 5.1, and deployed successfully my war.

Thx Ivic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top