Can't deploy a SINGLE bean in weblogic 6.1 SP2 w/o application reload
Anyone know how to update a single bean in an application without
redeploying the entire application?
We have a project containing 101 beans (session and entity) and 372
jsps which we are deploying on weblogic 6.1, SP2 as a single
application. The project is deployed in an exploded directory format
as follows:
trader/
META-INF/application.xml
lib/
third-party.jar
third-party.jar (etc.)
SessionBean.jar
EntityBean.jar (etc.)
trader/
WEB-INF/web.xml
META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
jsp/html/gif's reside below this point.
Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
library dependencies through the use of the Class-Path entry.
When we we try to update a single bean's implementation, the
entire application reloads, which can take between 10 - 30 minutes.
We have tried using the weblogic.deploy tool as well as undeploying
and redeploying the bean from the console. In both cases, the
entire application reloads.
When we use weblogic.deploy, we've tried the following:
weblogic.deploy
-url T3://localhost:7001
update weblogicpwd trader ~/trader/build/SessionBean.jar
and
weblogic.deploy
-url T3://localhost:7001
-component SessionBean:srvr1
update weblogicpwd trader ~/trader/build/SessionBean.jar
Anyone know how to update a single bean in an application without
redeploying the entire application?
We have a project containing 101 beans (session and entity) and 372
jsps which we are deploying on weblogic 6.1, SP2 as a single
application. The project is deployed in an exploded directory format
as follows:
trader/
META-INF/application.xml
lib/
third-party.jar
third-party.jar (etc.)
SessionBean.jar
EntityBean.jar (etc.)
trader/
WEB-INF/web.xml
META-INF/MANIFEST.MF (contains Class-Path: entry to lib dir)
jsp/html/gif's reside below this point.
Each bean jar has a META-INF/MANIFEST.MF to resolve third-party
library dependencies through the use of the Class-Path entry.
When we we try to update a single bean's implementation, the
entire application reloads, which can take between 10 - 30 minutes.
We have tried using the weblogic.deploy tool as well as undeploying
and redeploying the bean from the console. In both cases, the
entire application reloads.
When we use weblogic.deploy, we've tried the following:
weblogic.deploy
-url T3://localhost:7001
update weblogicpwd trader ~/trader/build/SessionBean.jar
and
weblogic.deploy
-url T3://localhost:7001
-component SessionBean:srvr1
update weblogicpwd trader ~/trader/build/SessionBean.jar
Similar Messages
-
How to Deploy an entity bean in Weblogic 6.1
Hi friends,
Could any one of u pls send me the Deployment steps for an entity bean
in Weblogic 6.1 Server? or pls send me the URL from where i can get the step by
step entity bean deployment process...
Thanx in advance...
Sridhar.Y.S.Copy Entity Ejb jar file to the config/mydomain/applications directory.
http://edocs.beasys.com/wls/docs61/ejb/EJB_deployover.html#1011066
"Sridhar" <[email protected]> wrote:
>
Hi friends,
Could any one of u pls send me the Deployment steps for an entity
bean
in Weblogic 6.1 Server? or pls send me the URL from where i can get the
step by
step entity bean deployment process...
Thanx in advance...
Sridhar.Y.S. -
Deploying CMP Entity Beans in Weblogic
How to generate/convert the Orion xml file to Weblogic_RDBMS ?
Thxpetstore 1.3 will be available for the upcoming beta of weblogic 7.0...
Andrew Sliwkowski(BEA)
[email protected]
"Nitin Sawant" <[email protected]> wrote in message
news:3c04f6cd$[email protected]..
>
Appreciate if you can share your plans on releasing a petstore 1.3 patchfor weblogic.
>
>
i am having problems deploying CMP Entity Beans in petstore 1.3 where theprimary
key class is defined as java.lang.Object in the ejb-jar.xml descriptor(<prim-key-class>java.lang.Object</prim-key-class>).
Does weblogic 6.1 with 1.3 features enabled support the above feature.
Thanks, -
How to deploy a session bean in Weblogic 9.2
Hi,
Can anyone please point me to the procedure of deploying session bean on weblogic 9.2. My operating system is Fedora 5. Please let me know the steps as i am very new to EJB.
Regards,
SanjeevI looked for this information in ServletConfig, in ServletContext, in JVMID
ServletConfig or ServletContext do not have anything (at least I do not see anything),
The newsgroups recommend the following code
public static String getLocalUrlString()
String urlString;
JVMID jvmid = JVMID.localID();
urlString = jvmid.getHostAddress();
weblogic.rjvm.Protocol proto
=weblogic.rjvm.Protocol.getDefaultProtocol();
int port = jvmid.getPort(proto);
return urlString + ISoapConstants.SCHEME_DELIMITER + port;
I also tried
weblogic.rjvm.Protocol does not exist in current version, and I did not get any real information inside JVMID
Also tried JVMID.localID().ports(), which returns null
System.getProperty("weblogic.system.bindAddr"); or weblogic.system.listenPort property,
getProperty returns null
Tried also another approach from the newsgroups - JwsContext.
/** @common:context */
JwsContext context;
String myPort = context.getService().getURL().getPort();
String myUrl = context.getService().getURL().toString();
context is null
None of them worked.
Do you have any other ideas?
All those ideas I found in the newsgroups were to the previos version(s) of weblogic - up to 8.1. I have not found anything specific to 9.2 -
Can I deploy the session bean to 9i in the JDeveloper3.2
dear ONT
My JDeveloper3.2 can't find the method to deploy the session bean to 9i.
skI'm not sure that's entirely correct.
Personally I run both EJBs and servlets/JSP in OC4J. OC4J has all the 'web' features of IAS, including full SSL support.
From a speed perspective, running the EJBs and web components in the same container will give you a huge benefit.
Also I'm not sure what you mean by "you can't deploy EJBs into OC4J yet" - I do it daily? ;)
-mike
Atlassian - Supporting Your 'Orion/OC4J' World
http://www.atlassian.com -
Error deploying Struts 1.1 on weblogic 6.1 sp2
Hello,
I am trying to deploy the struts-documentation.war that comes with struts 1.1
on weblogic 6.1 sp2.
I already have xerces.jar , xalan.jar and crimson.jar in WEB-INF/lib. I have also
tired giving the files in the weblogic classpath.
It does not deploy the application and it gives the following error:
####<Jul 13, 2004 2:26:44 PM IST> <Debug> <HTTP> <phinwo-w00206>
<myserver> <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'>
<system> <> <101158> <Exception thrown while loading struts-documentation:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1>
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at
weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
at weblogic.utils.jars.Manifest.stream(Manifest.java:78)
at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:398)
at
weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
at
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
at
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
at
weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy29.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
at
weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.addTarget(Unknown Source)
at
weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
at
weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
at
weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
at
weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
at
weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at
weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy5.update(Unknown Source)
at
weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
at
weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
####<Jul 13, 2004 2:26:44 PM IST> <Error> <J2EE> <phinwo-w00206>
<myserver> <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'>
<system> <> <160001> <Error deploying application struts-documentation:
Could not load struts-documentation>
####<Jul 13, 2004 2:26:44 PM IST> <Error> <Management> <phinwo-w00206>
<myserver> <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'>
<system> <> <141042> <Error deploying application
.\config\mydomain\applications\struts-documentation.war:
java.lang.reflect.UndeclaredThrowableException>
Any help in this regard will be highly appreciated.I'm also running Weblogic 6.1 SP2 and getting a very similar error during startup when trying to deploy JSTL (Apache's version 1.0.6 from here http://jakarta.apache.org/taglibs/) in an exploded application that starts up fine if I remove the JSTL jars from WEB-INF/lib.
The exact stack trace in my case is this:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
at weblogic.utils.jars.Manifest.stream(Manifest.java:78)
at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:398)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:234)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3407)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy31.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy30.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy41.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35) -
Can I deploy the entity bean in different jar files?
I have an application EAR, which contains several JARs. I have an entity bean A that has relationships with 2 other different entity beans B and C in the same DB. Now, I have to deploy this entity A together with B in AB.jar, and A with C in AC.jar. Both AB.jar and AC.jar are modules of the same application EAR file. They all use the same data sources to the same database, and named by different <ejb-name>.
I have no problem with deploying the app to WebLogic 8.1. But the JSP page accessing entity A got errors. Sometime, it got error complaining that the container-generated ejbFindAccount mehtod is abstract.
My questions are,
Can an entity bean be defined twice in 2 different jars?
When container load AB.jar and AC.jar, does it generate the finder methods twice?
I guess there are some name conflicts going on here. What should I do to avoid it?
Any comments are very much appreciated.Thanks for your answer, but how can I use it in connection with relationships?
<!-- ********************************************************************** -->
<!-- Relationship: View to FrameworkUser -->
<!-- ********************************************************************** -->
<ejb-relation id="View-FrameworkUser">
<description></description>
<ejb-relation-name>View-FrameworkUser</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>Views-have-FrameworkUser</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>View</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>frameworkUser</cmr-field-name><!-#- getter/setter -#->
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<!-#- *************** -#->
<ejb-relationship-role>
<ejb-relationship-role-name>FrameworkUser-has-Views</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<!-#- *******REFERENCE******** -#->
<ejb-name>ejb_foo_jar2_ejb.jar#FrameworkUser</ejb-name>
<!-#- *******REFERENCE******** -#->
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
...this obviously doesn't work...
Do I have to write a new <entity> where I define the referenced entity? -
Can't deploy BMP Entity bean (iAS903)
When I create findAll() method in Local interface and try to deploy apllication with BMP, server return "Deployment failed: Nested exception Root Cause: Syntax error in source. Syntax error in source".
If remove findAll(), all OK.
If use Remote interface - also all OK.
How does BMP with fildAll() in Local interface deploy in iAS903?
thanks
Alexey.Alexey -- A fix will be coming out in the next release but before then you can ask your support representative for a patch for bug#2587584. This should solve the problem.
Thanks -- Jeff -
Deployment failed when moved to weblogic 8.1 SP2
hi,
i have a portal application which has been running on weblogic 8.1 without any
problems for over 6 months. now we are in the process of moving it to service
pack 2. i installed workshop 8.1.2 and opened my portal app. i was able to build
it without any problems. but when i start the server, i get some weird excpetions.
stack trace is copied in the end. this looks like something related to file names
"java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\....".
is there anything that i need to do before i deploy my app on SP2. ideally it
should work without any changes.
Thanks
Kaleem
stack trace:
<Jun 15, 2004 3:33:10 PM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "Li
stenThread.Default" listening on port 15001, ip address *.*>
java.io.IOException: There are no more files
at java.io.WinNTFileSystem.canonicalize(Native Method)
at java.io.File.getCanonicalPath(File.java:513)
at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:326)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
:214)
at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
a:225)
at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
actionHelper.java:491)
at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
tionHelper.java:238)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:5129)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:5001)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:542)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
onContainer.java:3011)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
Container.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Jun 15, 2004 3:33:34 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were
d
etected while initiating Deploy task for application ApprovalsApp.>
<Jun 15, 2004 3:33:34 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
e the deployment task with ID 0 for the application ApprovalsApp.
java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\U
SER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSer
ver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache\
struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:326)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
:214)
at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
a:225)
at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
actionHelper.java:491)
at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
tionHelper.java:238)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:5129)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:5001)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:542)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
onContainer.java:3011)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
Container.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\
USER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSe
rver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache
\struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>My guess is you've exceeded the file path length limits on windows.
-- Rob
Kaleem wrote:
hi,
i have a portal application which has been running on weblogic 8.1 without any
problems for over 6 months. now we are in the process of moving it to service
pack 2. i installed workshop 8.1.2 and opened my portal app. i was able to build
it without any problems. but when i start the server, i get some weird excpetions.
stack trace is copied in the end. this looks like something related to file names
"java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\....".
is there anything that i need to do before i deploy my app on SP2. ideally it
should work without any changes.
Thanks
Kaleem
stack trace:
<Jun 15, 2004 3:33:10 PM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "Li
stenThread.Default" listening on port 15001, ip address *.*>
java.io.IOException: There are no more files
at java.io.WinNTFileSystem.canonicalize(Native Method)
at java.io.File.getCanonicalPath(File.java:513)
at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:326)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
:214)
at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
a:225)
at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
actionHelper.java:491)
at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
tionHelper.java:238)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:5129)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:5001)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:542)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
onContainer.java:3011)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
Container.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Jun 15, 2004 3:33:34 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were
d
etected while initiating Deploy task for application ApprovalsApp.>
<Jun 15, 2004 3:33:34 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
e the deployment task with ID 0 for the application ApprovalsApp.
java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\U
SER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSer
ver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache\
struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:326)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
va:322)
at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
:214)
at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
a:225)
at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
actionHelper.java:491)
at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
tionHelper.java:238)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:5129)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:5001)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:542)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:493)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
onContainer.java:3011)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
Container.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\
USER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSe
rver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache
\struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) -
Error while deploying an entity bean
Hi,
I am trying to deploy an entity bean in weblogic 7.0 .
My weblogic-ejb-jar.xml has the entry as :
<weblogic-enterprise-bean>
<ejb-name>enroleejb.ManagedObjectImplHome</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
<initial-beans-in-free-pool>0</initial-beans-in-free-pool>
</pool>
<stateless-clustering>
<stateless-bean-is-clusterable>True</stateless-bean-is-clusterable>
<stateless-bean-methods-are-idempotent>False</stateless-bean-methods-are-ide
mpotent>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>60</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>enroleejb.ManagedObjectImplHome</jndi-name>
</weblogic-enterprise-bean>
When I run ejbc it gives the following error.
[java] The file /meta-inf/weblogic-cmp-rdbms-jar.xml, specified in a
type-storage element
of your weblogic-ejb-jar.xml descriptor, does not exist in the jar
file.
[java] at
weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(PersistenceTy
pe.java:475)
[java] at
weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.jav
a:407)
[java] at
weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:114)
[java] at
weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPComp
iler.java:64)
[java] at
weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:223)
[java] at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:344)
[java] at weblogic.ejbc20.runBody(ejbc20.java:470)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:126)
[java] at weblogic.ejbc.main(ejbc.java:29)
In the generated jar file I have meta-inf\weblogic-cmp-rdbms.jar file.
Still it gives the error.
What could be the problem?
Any help would be appreciated.
Thanks,
NamrataEjb jar file should have META-INF/weblogic-cmp-rdbms-jar.xml
"Sarita Satoor" <[email protected]> wrote:
Hi,
I am trying to deploy an entity bean in weblogic 7.0 .
My weblogic-ejb-jar.xml has the entry as :
<weblogic-enterprise-bean>
<ejb-name>enroleejb.ManagedObjectImplHome</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
<initial-beans-in-free-pool>0</initial-beans-in-free-pool>
</pool>
<stateless-clustering>
<stateless-bean-is-clusterable>True</stateless-bean-is-clusterable>
<stateless-bean-methods-are-idempotent>False</stateless-bean-methods-are-ide
mpotent>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>60</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>enroleejb.ManagedObjectImplHome</jndi-name>
</weblogic-enterprise-bean>
When I run ejbc it gives the following error.
[java] The file /meta-inf/weblogic-cmp-rdbms-jar.xml, specified
in a
type-storage element
of your weblogic-ejb-jar.xml descriptor, does not exist in the jar
file.
[java] at
weblogic.ejb20.persistence.PersistenceType.setTypeSpecificFile(PersistenceTy
pe.java:475)
[java] at
weblogic.ejb20.persistence.PersistenceType.setupDeployer(PersistenceType.jav
a:407)
[java] at
weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:114)
[java] at
weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPComp
iler.java:64)
[java] at
weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:223)
[java] at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:344)
[java] at weblogic.ejbc20.runBody(ejbc20.java:470)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:126)
[java] at weblogic.ejbc.main(ejbc.java:29)
In the generated jar file I have meta-inf\weblogic-cmp-rdbms.jar file.
Still it gives the error.
What could be the problem?
Any help would be appreciated.
Thanks,
Namrata -
Problems with a java bean in Weblogic 5.1
Hello,
I am having a problem deploying a java bean in Weblogic 5.1:
I have been given a .class and a .jar file for a java bean (not an EJB). I
placed the .class file into e:\temp\WEB-INF\classes and added the following
line to my weblogic.properties file:
weblogic.httpd.webApp.testApp=e:/temp/
I have also updated the web.xml file in the WEB-INF directory as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 1.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>EdIface</servlet-name>
<jsp-file>test.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>EdIface</servlet-name>
<url-pattern>EdIface</url-pattern>
</servlet-mapping>
</web-app>
When I try to access my http:\\server:port\testApp\test I get an "Error
500 - internal server error".
Has anyone had experice with deploying a java bean with jsut the .class and
.jar file? Where should I put the .jar file?
I appreciate any advice!
Bump
-
How to deploy an Ear File into Weblogic Server
Hello,
i have created an ADF application successfully and make it as an EAR file.
How can we deploy that EAR file into weblogic server..?
Let me know step-by-step procedure.
Regards.Hi,
Steps to deploy EAR file on Weblogic server:
1) login to http://<hostname>:<port>/console
2) Go to deployments and then install your ear on weblogic server.
Also you will need to create a data source with same name as given in your Application Module.
Following link contains steps for data source creation - http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html ( section - "Configure a JDBC Data Source")
Thanks,
Randhir -
Can't deploy mappings after migration 10.2 to 11.2.0.2
We migrated the test system from 10.2.0.2 to 11.2.0.2 using Repository upgrade MDL files approach. After redeployment of locations I still can't deploy a single mapping. What happens is that I get the ORA-20008 "The specified location parameter cannot be modified because the location contains deployed objects". Upon this the design center pops up the location, if I click OK I get the same ORA-2008 and ORA-06512 at OWBSYS.WB_RTI_EXCEPTIONS, line 119, and WB_RT_STORE_REGISTRATION, line 230 etc.
I've tried to register / unregister and register again all Locations, which appears to work but it didn't help.
Generally I don't care at all about deployment information, but this is a show stopper with the upgrade to 11.2: we can't get the new version to function.
Does anyone have an idea what might be wrong?Hi,
you may try to unregister the location first using OWB 10.2 (or manually revoke owb roles and drop owb synonyms and tables of the specific user).
Then add (register) the user to owb 11.2.
Regards,
Carsten. -
JSF and weblogic 8.1 sp2?? Please help!
Hello All -
We are part of a small team here in SF at a biotech company... they have given us the green light to use JSF on a small project.
Only problem is that we must deploy to Weblogic 8.1 SP2 & I can't get JSF to work on Weblogic 8.1 SP2.
I get strange errors -- an inability to control navigation. The simple "hello world" app that comes with the Manning book "Javaserver faces in Action" does not work on WL 8.1 SP2. It does however work on Tomcat.
I have even written a hack servlet that starts the listener manually that is needed for JSF to work. (http://forum.java.sun.com/thread.jspa?threadID=499690&start=15&tstart=30)
Any ideas on this? We are getting desperate with a deadline looming Thursday. Want to make this work & not have to go back to Struts.
One blog I saw said that what is needed is a Weblogic patch. Anyone know anything about this? (http://jroller.com/page/RickHigh/20040929)
Thank you-
MattI'm trying to get a JSF web app I have working on
tomcat ported to weblogic 8.1 sp2.
When I deploy the webapp I get the following
exception.
I get the same exception when I try to deploy the JSF
sample cardemo.war. (I've tried both JSF1.0 and JSF
1.1, both result in the same error).Hello Kieth,
Have you considered this content from the README:
* Some web containers (Notably BEA WebLogic Server) don't follow the
JSP 1.2 Spec rule of calling ServletContextListeners listeners defined
in tld files in the META-INF directory of a jar. Running a faces
webapp in such a container requires you to manually declare the
ServletContextListener. The listener-class you need to specify is
com.sun.faces.config.ConfigureListener
Ed (EG Member) -
WebLogic 6.1 SP2 stateful EJB handle serialization problem
I try to serialize and later deserialize the handle of a stateful
session bean in WebLogic 6.1 SP2. This works on the client, but not on
the server. In WebLogic 6.1 SP1, it worked on both server and client.
The test code:
try {
InitialContext context = new InitialContext();
InfSessionHome sessionHome = (InfSessionHome)
InfEJBUtil.getInfEJBHome
(context, InfJNDINames.INFSESSION_EJBHOME,
InfSessionHome.class);
infSession1 = sessionHome.create();
// serialize
ObjectOutputStream objector = new ObjectOutputStream(byteStream);
objector.writeObject(infSession1.getHandle());
objector.flush();
objector.close();
byte[] ejbKeyBytes = byteStream.toByteArray();
// deserialize
ByteArrayInputStream byteInStream = new
ByteArrayInputStream(ejbKeyBytes);
ObjectInputStream objStream = new ObjectInputStream(byteInStream);
Handle ejbHandle = (Handle) objStream.readObject();
objStream.close();
InfSession infSession2 = (InfSession) ejbHandle.getEJBObject();
if (!infSession2.equals(infSession1)) {
throw new IllegalStateException("not equal: " + infSession2);
} catch (Exception e) {
e.printStackTrace();
I get the following stack trace in the readObject() call:
java.io.InvalidClassException:
weblogic.rmi.internal.LocalServerRefMissing no-arg constructor for
class
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1221)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.ejb20.internal.HandleImpl.readExternal(HandleImpl.java:89)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
I suppose that WebLogic uses a different handle on the server
(LocalServerRef class, handle local to it's EJB) than on the client.
I took the routine from Apache SOAP 2.2 StatefulEJBProvider. So I
suppose that more people are running into the same problem.
Does anybody know of a workaround?
TomJust a small addition/clarification to what Cameron said on serialization.
- The no argument constructor is required in the first non-serializable class in the object hierarchy for de-serialization process. If your class extends form Object class(which has a no arg constructor), you need not have a no-arg constructor. refere to http://64.49.216.133/faq/view.jsp?EID=251942 for more details.
- Also I suggest using the api
isIdentical(...)
instead of equals method in the code if you are trying to establish whether the two objects represent the same EJBObject or not
- Rajeev
Cameron Purdy <[email protected]> wrote in message news:[email protected]...
A no-argument constructor is required for a class to be deserialized. It
sounds like a BEA bug from the stack trace, but make sure you don't have
something extra that you are serializing on something of yours that should
be transient. (It's hard to imagine how, but you never know ...)
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Tom Gerber" <[email protected]> wrote in message
news:[email protected]...
I try to serialize and later deserialize the handle of a stateful
session bean in WebLogic 6.1 SP2. This works on the client, but not on
the server. In WebLogic 6.1 SP1, it worked on both server and client.
The test code:
try {
InitialContext context = new InitialContext();
InfSessionHome sessionHome = (InfSessionHome)
InfEJBUtil.getInfEJBHome
(context, InfJNDINames.INFSESSION_EJBHOME,
InfSessionHome.class);
infSession1 = sessionHome.create();
// serialize
ObjectOutputStream objector = new ObjectOutputStream(byteStream);
objector.writeObject(infSession1.getHandle());
objector.flush();
objector.close();
byte[] ejbKeyBytes = byteStream.toByteArray();
// deserialize
ByteArrayInputStream byteInStream = new
ByteArrayInputStream(ejbKeyBytes);
ObjectInputStream objStream = new ObjectInputStream(byteInStream);
Handle ejbHandle = (Handle) objStream.readObject();
objStream.close();
InfSession infSession2 = (InfSession) ejbHandle.getEJBObject();
if (!infSession2.equals(infSession1)) {
throw new IllegalStateException("not equal: " + infSession2);
} catch (Exception e) {
e.printStackTrace();
I get the following stack trace in the readObject() call:
java.io.InvalidClassException:
weblogic.rmi.internal.LocalServerRefMissing no-arg constructor for
class
atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1221)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
atjava.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
atjava.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
atjava.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
atweblogic.ejb20.internal.HandleImpl.readExternal(HandleImpl.java:89)
atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
I suppose that WebLogic uses a different handle on the server
(LocalServerRef class, handle local to it's EJB) than on the client.
I took the routine from Apache SOAP 2.2 StatefulEJBProvider. So I
suppose that more people are running into the same problem.
Does anybody know of a workaround?
Tom
[att1.html]
Maybe you are looking for
-
Right now when someone calls that I have a contact pic set for, it shows as a thumbnail on the right side of the banner (right corner of screen). I want it to come up on the whole screen like I see other iphones do. I was told at first that this ha
-
Cannot auto save due to trust settings
I'm filling in a corporation tax form and when i click next to move onto the next page i am face with the following error: I have tried looking through the help but i can't seem to find an answer Can anybody help? Possibly provide a sort of step by s
-
Hello, Can anyone help me, I sent in my ipod touch 32 gb 2nd generation, for a new battery, and now I am unable to sync all my music, no apps, no audio books, and no pictures. When trying to sync this is the message I am getting " some items in the i
-
Can someone give the reference to ALL the post-installation configuration documents needed to install SUCCESSFULLY the XI Scenario in NW2004s?
-
Can't see airport express on certain network.
I have 2 Airport Expresses. My home network has a Linksys router and 2 acess points - both Engenius. The primary SSID for the Linksys is Moe, and the two engenius AP's are Larry (ECB9500) and Curly (EOC2611P). When I setup the AE's (Airport Express)