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 Something wrong with useBean? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Something wrong with useBean?" Watch "Something wrong with useBean?" New topic
Author

Something wrong with useBean?

jetrin
Greenhorn

Joined: Aug 12, 2006
Posts: 3
Hi all...

I wrote a Jsp file. In that i used a javabean. I am using weblogic 8.1. This is the code:


I put it inside war file and also the javabean (under WEB-INF\classes) then deployed it to the server. But it gave me error message as below:

weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for WEBStarhubApps
Module: WEBStarhubApps Error: Could not load WEBStarhubApps: weblogic.management.DeploymentException: - with nested exception:
[java.io.IOException: Compiler failed executable.exec]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2398)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:???)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Unknown Source)
No Exception Messages

Anyone can help me?
Thank you in advance.
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
I think it's not a problem with your jsp...this should be precompiled on demand...
Try to check the internal structure of the built war...

Best regards,


Regards,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
Excuse me...the second part of the discussion...I think that because I see a java.lang.IOException....and it's strange...

Regards,
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Something wrong with useBean?
 
Similar Threads
deployment problem
Servlet Deployment Problem
WL 8.1 EJB Tutorial help, Please
Getting Exception error while deploying an web application
Servlet Deployment Problem.