This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

testing the deployment

 
Ronak Parekh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic