This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes testing the deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "testing the deployment" Watch "testing the deployment" New topic
Author

testing the deployment

Ronak Parekh
Greenhorn

Joined: Aug 21, 2002
Posts: 26
I have deployed my application. My path structure is:
myapp/META-INF/application.xml
myapp/myejb/META-INF/ejb-jar.xml
myapp/myejb/META-INF/weblogic-ejb-jar.xml
myapp/myejb/META-INF/weblogic-cmp-rdbms-jar.xml
myapp/myejb/META-INF/classes/*.class
myapp/WEB-INF/jsps/*.jsp
myapp/WEB-INF/web.xml
myapp/WEB-INF/weblogic.xml
I copy app.ear to c:/bea/wlserver6.1/config/mydomain/applications
When I deploy my file, I get the output as
<Sep 25, 2002 12:32:26 PM PDT> <Debug> <HTTP> <Registering ServletContext:
"sempire_web:/myapp">
How do I run my jsp files to see if it gets the JavaBean instances? In case
I have a file gangster_list_applet.jsp.
Do I check it by specifying the url
http://127.0.0.1:7001/gangster_list_applet.jsp or is it something else?
Thank you
Ronak Parekh
Dave Landers
Ranch Hand

Joined: Jul 24, 2002
Posts: 401
First, your application (ear) structure looks wrong. It should be more like:

I think the structure was confusing WLS into thinking it was a webapp not an entrerprise app.
When you build the ear, it should not include the "myapp". In other words:

Then, you can probably hit the jsps using
http://localhost:7001/mywebapp/foo.jsp
unless you have set a different context-root for the webapp in application.xml....
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: testing the deployment
 
It's not a secret anymore!