• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

package does not exist

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm now using Weblogic 6.0 SP 2 for development. I did a test application, containing EJBs, and a JSP. Package the applications to an EAR file.
Then I deploy the test application using hot-deploy - just drop the EAR into the domain\application folder.
When I call the JSP page, I get an error saying that the package I'm importing is not found. What is wrong?? The test application works on Weblogic 5.1
My WAR file contains only the JSP and XML descriptor. Do I need to include classes inside??? Don't think that is correct.
Please advise.
 
Ranch Hand
Posts: 293
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We need to know a little more about the structure and contents of your .ear file. I assume your .ear file contains a .war file, and the application.xml deployment descriptor for your .war file. And your .war file contains the correct directory structure (.jsp files and /WEB-INF directory, and your web.xml file is contained inside your /WEB-INF directory). Also, check that you calling your .jsp file from the same URI named in your web.xml file.
 
ST Moong
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ha...just found out I made a mistake in the application.xml
The JAR file was specified wrongly
Anyway, the re-deployment was not too intuitive as I needed to shutdown server. Change the JAR reference inside the config.xml for the application block. Replace the EAR file. Restart server.
Is there any other way to redeploy??
The undeployment is also very weird. It does not really undeployed, just mark the application and not load it. Maybe good in some ways, not too sure.
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I�ve noticed about undeploy as well, if someone knows how to take the name of the EJB undeployed out of the admin. console please let me know.
 
reply
    Bookmark Topic Watch Topic
  • New Topic