• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

testing the deployment

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
reply
    Bookmark Topic Watch Topic
  • New Topic