File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: testing the deployment