Weblogic.utils.NestedRuntimeException
weblogic.utils.NestedRuntimeException
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException:
java.lang.NoSuchMethodException:couldn't find getter for 'EJBHomes' on weblogic.management.runtime.EJBComponentRuntimeMBean
weblogic.utils.NestedRuntimeException
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException:
java.lang.NoSuchMethodException:couldn't find getter for 'EJBHomes' on weblogic.management.runtime.EJBComponentRuntimeMBean
Similar Messages
-
Weblogic.utils.NestedRuntimeException when using javax.servlet.Filter
IDE: JDev 10gR3.4 & JDev 11gR2.3
ViewController technology: JSF/ADF Faces
Example code flow:
Run page2.jsf
MyFilter intercepts request, checks for parameter on session.
If parameter not null, goto page2.jsf
Else redirect to page1.jsf
page1.jsf has a button that sets the value on the session scope after clicking.
In jdev 11gR2.3, I get an weblogic.utils.NestedRuntimeException after clicking the button on page1.jsf. This error does not occur in jdev 10gR3.5. Although the application continues to execute and proper info is displayed, I’m wondering why this occurs and also if I should be concerned. Has anyone experienced a similar issue when using javax.servlet.Filter in 11g?
MyFilter code snipet:
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) {
try {
HttpServletRequest httpRequest = (HttpServletRequest)servletRequest;
HttpServletResponse httpResponse = (HttpServletResponse)servletResponse;
String redirect = httpRequest.getContextPath() + "/faces/page1.jsf"; //only difference here is 11g uses jsf, 10g uses jsp.
String uri = httpRequest.getRequestURI().toString();
Boolean mySessionAttribute = (Boolean)httpRequest.getSession().getAttribute("MYSESSIONATTRIBUTE");
if (uri.endsWith(redirect) || mySessionAttribute != null) {
filterChain.doFilter(servletRequest, servletResponse);
} else {
httpResponse.sendRedirect(redirect);
return;
} catch (IOException e) {
e.printStackTrace();
} catch (ServletException e) {
e.printStackTrace();
page1.jsf/jsp
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
<h:form id="f1">
<h:commandButton value="Submit" id="cb1" action="#{Page1Bean.clicked}" type="submit"/>
</h:form>
</f:view>page2.jsf/jsp
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="main.jsf" id="d1">
<af:form id="f1">
<af:outputText value="This is the main content" id="ot1"/>
</af:form>
</af:document>
</f:view>Page1Bean.java
public class Page1Bean {
public void clicked() {
FacesContext context = FacesContext.getCurrentInstance();
ExternalContext externalContext = context.getExternalContext();
externalContext.getSessionMap().put("MYSESSIONATTRIBUTE", Boolean.TRUE);
try {
externalContext.redirect("/11gFilterExample-ViewController-context-root/faces/page2.jsf");
} catch (IOException e) {
e.printStackTrace();
}Full exception
weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/11gFilterExample-ViewController-context-root/faces/page1.jsf'
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:177)
at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2118)
... 39 more
<UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabledI dont believe that solution pertains to my case. clicked() is invoked from standard jsf page and the adf controller is not acquired yet. i put a couple of print statements in the filter and it seems that the doFilter is called twice! This is not the case when running in 10g.
if (uri.endsWith(redirect) || mySessionAttribute != null) {
System.out.println("URI dofilter: "+uri);
filterChain.doFilter(servletRequest, servletResponse);
} else {
System.out.println("URI sendRedirect: "+uri);
httpResponse.sendRedirect(redirect);
}11g weblogic console log:
URI sendRedirect: /11gFilterExample-ViewController-context-root/faces/page2
URI dofilter: /11gFilterExample-ViewController-context-root/faces/page1.jsf
URI dofilter: /11gFilterExample-ViewController-context-root/faces/page1.jsf
10g oc4j console log:
13/01/07 15:48:13 URI sendRedirect: /10gFilterExample-ViewController-context-root/faces/page2.jsp
13/01/07 15:48:13 URI dofilter: /10gFilterExample-ViewController-context-root/faces/page1.jsp
I believe whatever thats causing this occur could be why the exception is thrown... -
Servicegen: unable to load type library from classloader weblogic.utils.cl
Hi,
I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
Please find the build.xml snapshot, and the stack trace given below.
Please help me out with this.
Points to be noted are:-
1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar >
<description><![CDATA[No Description.]]></description>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<session >
<description><![CDATA[NorthBound Interface]]></description>
<ejb-name>ArcorNBIService</ejb-name>
<home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
<remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
<local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
<local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
<ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
3) Build.xml snapshot:-
<target name="gen-webservice" depends="init">
<copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
<autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
<autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
<servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
<service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
<security enablePasswordAuth="true"/>
</service>
</servicegen>
</target>
4) Exception stacktrace:-
--- Nested Exception ---
java.lang.AssertionError: java.io.IOException
at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.io.IOException
at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
... 37 more
Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
... 38 more
Total time: 5 secondsHi,
I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
Please find the build.xml snapshot, and the stack trace given below.
Please help me out with this.
Points to be noted are:-
1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar >
<description><![CDATA[No Description.]]></description>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<session >
<description><![CDATA[NorthBound Interface]]></description>
<ejb-name>ArcorNBIService</ejb-name>
<home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
<remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
<local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
<local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
<ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
3) Build.xml snapshot:-
<target name="gen-webservice" depends="init">
<copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
<autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
<autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
<servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
<service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
<security enablePasswordAuth="true"/>
</service>
</servicegen>
</target>
4) Exception stacktrace:-
--- Nested Exception ---
java.lang.AssertionError: java.io.IOException
at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.io.IOException
at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
... 37 more
Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
... 38 more
Total time: 5 seconds -
Hi,
I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
I am getting following error during deployment.
Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
Module: Sample.jar Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
Unable to deploy EJB: SampleBean from Sample.jar:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
clusterable object with jndiName ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Any clue?, what its talking about?
Thanks
NareshHi,
I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
I am getting following error during deployment.
Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
Module: Sample.jar Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
Unable to deploy EJB: SampleBean from Sample.jar:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
clusterable object with jndiName ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Any clue?, what its talking about?
Thanks
Naresh -
Which jar file include class - weblogic.utils.UnsyncStringBuffer?
When I compile my JSP file by using JDeveloper, but I got "Error: java.lang.NoClassDefFoundError: weblogic/utils/UnsyncStringBuffer". I don't know which jar file is including this class file, and where I can get that jar file?
This is my JSP file header
<%@page language="java" contentType="text/html;charset=UTF-8"%>
<%@taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@taglib uri="netui-tags-html.tld" prefix="netui"%>
<%@taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<%@taglib uri="cnt.tld" prefix="cnt" %>
<%@taglib uri="cnt-util.tld" prefix="cnt-util" %>
<%@taglib uri="c.tld" prefix="c"%>
Thanks,
lucyI doubt that a user who hasn't posted in 3+ years is going to wake up and answer you.
Probably best for you to post your details in a new thread (linking to here if you think it adds value)
You can always use Tools->Manage Libraries in JDeveloper and type the class name into the search box; it will tell you which libraries have the class. -
Hi All,
My web application has been running great all these years with WebLogic 7.0 SP2. I am upgrading it to Weblogic 8.1 SP4.
Few classes have the following code snippet:
throw new weblogic.utils.AssertionError("impossible case: " + idx);
Here idx is int.
This code snippet never gave any trouble with WebLogic 7.0 SP2. Now when I am building the application with WebLogic 8.1 SP4 and JDK 1.4, it gives the following warning at the build time:
[javac] warning: weblogic.utils.AssertionError in weblogic.utils has been deprecated
[javac] throw new weblogic.utils.AssertionError("impossible case: " + idx);
I am trying to identify, if this class has been deprecated in WebLogic 8.1, then what is the alternative class which I can use?
I searched in all BEA documentations, but did not get any reference.
Can some one help me, if you know about it.
I would highly appreciate it.
Thanks,
Ashish.Hi,
As you are using WLS8.1 It means your JDK will be JDK1.4 and there is a Bug already available with JDK1.4 for the Same issue ... Please find the below link:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4705373 (For Sun JDK1.4)
AND
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6373059 (For Sun JDK 1.5.0_05)
Please try to switch to JRockit JDK.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here) -
Weblogic.utils.AssertionError: weblogic 8.1 SP4 cluster
Hi,
I'm try to run a junit test from eclipse that runs a method in a bean deployed on a WL8.1 SP4 cluster.
There are other posts for AssertionErrors in the firum but none have this particular error, the only references I could find to it were BEA readme docs for problems solved in WebLogic 7.
If I move the bean from the cluster and run it on the admin server then happy days so I'm thinking it could be a cluster config problem?
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Only works for colocated objects ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.rmi.extensions.server.ServerHelper.getServerReference(ServerHelper.java:194)
at weblogic.jndi.internal.WLEventContextImpl.readExternal(WLEventContextImpl.java:401)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:120)
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at sunlife.us.dc.connectivity.ejb.ConnectivityEditor_7xpdvm_EOImpl_814_WLStub.getDescriptionRefs(Unknown Source)
at sunlife.us.dc.connectivity.ejb.ProfileEditorBeanTest.testGetDescriptionRefs(ProfileEditorBeanTest.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)Assuming the log entries you care about are generated by your application, and not the infrastructure, you're better off adding millisecond detail to your application log messages. If you're using commons-logging, you can tie this to the WL server log implicitly through configuration, or you could use NonCatalogLogger to explicitly log to the WL server log.
-
Weblogic.utils.ParsingException: nested IOException
I have a problem with creating a separate working directory for Weblogic
Commerce Server where I can do development. These are the errors that I
can when I try to access a particular portal,
========================================
creating new context
========================================
Fri Mar 24 08:46:01 EST 2000: <I>
<ServletContext-Servlets>com.beasys.portal.admin.PortalServiceManager:
init
weblogic.utils.ParsingException: nested
IOException:java.util.zip.ZipException: error in opening zip file
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:647)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:74)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:115)
at
weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Jhtml2Java.java:282)
at
weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Jhtml2Java.java:118)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:168)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:148)
at weblogic.servlet.JSPServlet.compilePage(JSPServlet.java:317)
at weblogic.servlet.JSPServlet.getStub(JSPServlet.java:223)
at weblogic.servlet.JSPServlet.service(JSPServlet.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:75)
at
com.beasys.portal.admin.PortalServiceManager.service(PortalServiceManager.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:86)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:293)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:245)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:501)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:260)
at weblogic.t3.srvr.ExecuteThread.run(ExecuteThread.java:106)
I have created a separate user account for this purpose while all the
main Weblogic stuff are still under /usr/local/weblogic and
/usr/local/weblogicac. I can access individual jsp pages through
absolute URL but then I use a portal name to access the portal, it
throughs those exceptions. Does anyone have similar experience when
trying to create a separate development environment using the same
installation and license? Do you have to do a new installation?<QUESTION>
I have a problem with creating a separate working directory for Weblogic
Commerce Server where I can do development. These are the errors that I
can when I try to access a particular portal,
I have created a separate user account for this purpose while all the
main Weblogic stuff are still under /usr/local/weblogic and
/usr/local/weblogicac. I can access individual jsp pages through
absolute URL but then I use a portal name to access the portal, it
throughs those exceptions. Does anyone have similar experience when
trying to create a separate development environment using the same
installation and license? Do you have to do a new installation?</QUESTION>
<ANSWER>
Theoretically, the working directory JSP for the portal implementation that
tells the portal framework where to find your portal pages and the BEA
WebLogic Portal pages.(This page is qualified from yourDocumentRoot as
defined in the weblogic.properties file.)
Example: workingdir=/portals/myPortal/
You need to register the new working Dir in Weblogic.Properties files and
restart your Application Server after you create your new working Dir.
It is not easy to say with the situatrion that you described. Please check
the link http://edocs.beasys.com/wlac/portals/docs/portal.htm#getting for
details to create working Dir step by step. It may meet your needs. You may
also check http://www.weblogic.com/docs/admindocs/properties.html#jsp for
further information about JSP working Dir setting.
Please try it again and post the result if it's possible.
Thanks
Ji Zhang
</ANSWER> -
Java.lang.NoClassDefFoundError: weblogic/utils/StringUtils
Everything was working fine for past 2 months. Now suddenly I am facing some weird issue starting the weblogic admin server 10.3 on Linux. There were no changes at all to any of the script.
Please advise.
Starting WLS with line:
/root/bea/jdk160_05/bin/java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=192m -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=/root/bea/wlserver_10.3 -Dwls.home=/root/bea/wlserver_10.3/server -Dweblogic.home=/root/bea/wlserver_10.3/server -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweblogic.wsee.skip.async.response=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.ext.dirs=/root/bea/patch_wlw1030/profiles/default/sysext_manifest_classpath:/root/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/root/bea/patch_wlp1030/profiles/default/sysext_manifest_classpath:/root/bea/patch_cie670/profiles/default/sysext_manifest_classpath:/root/bea/wlportal_10.3/p13n/lib/system:/root/bea/wlportal_10.3/light-portal/lib/system:/root/bea/wlportal_10.3/portal/lib/system:/root/bea/wlportal_10.3/info-mgmt/lib/system:/root/bea/wlportal_10.3/analytics/lib/system:/root/bea/wlportal_10.3/apps/lib/system:/root/bea/wlportal_10.3/info-mgmt/deprecated/lib/system:/root/bea/wlportal_10.3/content-mgmt/lib/system -Dweblogic.alternateTypesDirectory=/root/bea/wlportal_10.3/portal/lib/security -Dweblogic.management.username=xxxx -Dweblogic.management.password=xxxx-Dweblogic.Name=AdminServer -Djava.security.policy=/root/bea/wlserver_10.3/server/lib/weblogic.policy weblogic.Server
Listening for transport dt_socket at address: 8453
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/utils/StringUtils
at weblogic.Server.getLibraryExtensions(Server.java:222)
at weblogic.Server.getExtensionJars(Server.java:198)
at weblogic.Server.intializeClassloader(Server.java:135)
at weblogic.Server.main(Server.java:66)
Caused by: java.lang.ClassNotFoundException: weblogic.utils.StringUtils
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 4 more
Stopping PointBase server...StringUtils is in com.bea.core.utils_1.4.0.0.jar (in your modules folder).
Probably it is needed on your classpath and it's not there.. -
Weblogic.utils.AssertionError when getting attributes of EJBComponentMBean
when i get the attributes of this mbean, i get an assertion error. the
javadocs do not say anything about this...so how can i prevent this
assertion error?
here is the code, and below is the error on weblogic
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, "t3://yscadt207:7001");
p.put(Context.SECURITY_PRINCIPAL, "weblogic");
p.put(Context.SECURITY_CREDENTIALS, "weblogic");
Context ctx = null;
try {
ctx = new InitialContext(p);
MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
MBeanServer server = home.getMBeanServer();
Set set = server.queryNames(new
ObjectName("*:Type=EJBComponent,*"), null);
System.out.println("found " + set.size() + " mbeans");
int show = 1;
int count = 0;
for(Iterator i = set.iterator(); show > count && i.hasNext();
count++){
ObjectName on = (ObjectName)i.next();
System.out.println(on);
MBeanInfo info = server.getMBeanInfo(on);
MBeanAttributeInfo[] attinfo = info.getAttributes();
for(int j = 0; j < attinfo.length; j++){
try {
System.out.println(attinfo[j].getName() + " (" +
attinfo[j].getType() +
"): " +
server.getAttribute(on,
attinfo[j].getName()));
} catch(Exception ex){
System.err.println("error for att " + attinfo[j].getName()
+ " (" + attinfo[j].getType() + "): " + ex);
ex.printStackTrace();
} finally {
if(ctx != null) ctx.close();
<Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
<RuntimeException thrown by rmi server: weblogic.management.
internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
javax.management.RuntimeErrorException: Error thrown by the
getAttribute method of the DynamicMBean for the attribute
EJBModuleDDEditor.
>
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
is disabled. ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at
weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
at
weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
at
weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
at
weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
at
weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Feb 23, 2004 10:54:36 AM PST> <Error> <Management> <BEA-140001> <An
error occurred while getting attribute EJBNames on
MBean
examples:Application=_appsdir_ejb20_message_ear,Name=ejb20_message.jar,Type=EJBComponent.
Method: public java.util
.Set weblogic.management.mbeans.custom.EJBComponent.getEJBNames() throws
weblogic.ejb20.WLDeploymentException. Exception
: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD
Editing is disabled. ].
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
is disabled. ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at
weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
at
weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
at
weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
at
com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
at
weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
at
weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
<RuntimeException thrown by rmi server: weblogic.management.
internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
javax.management.RuntimeErrorException: Error thrown by the
getAttribute method of the DynamicMBean for the attribute
EJBNames.
>I am also getting the exact same errors.
In my case it's when I have MC4J connected to WLS8.1SP3 and I am trying to simply look at the deployed EJB's.
Why has no one answered Simon's question since being posted back in Feb? -
Exception weblogic.utils.ParsingException in redhat Linux (include JSP)
Hi,
We have a lot of application (war,ear) deployed in Windows XP Server, Sun Solaris with WebLogic Server 7.2 and shows no problem, but now I installed the same applications in WLS SP2 in Linux RedHat 9, and deployed I haven't had any
problem in doing so, but I get an error when I try to view these applications in the browser.
The message is:
9,name=hubcontrol,context-path=/hubcontrol)] Root cause of ServletException
weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:961)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:90)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:213)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
but, I know the problems is <%@ include file="xxx" %>, WL don't support <%@ include file="/xxx" %> in linux....I have many applications WAR, I cannot change them for a Linux version.... does not exist another alternative?
Thanks a lot,<QUESTION>
I have a problem with creating a separate working directory for Weblogic
Commerce Server where I can do development. These are the errors that I
can when I try to access a particular portal,
I have created a separate user account for this purpose while all the
main Weblogic stuff are still under /usr/local/weblogic and
/usr/local/weblogicac. I can access individual jsp pages through
absolute URL but then I use a portal name to access the portal, it
throughs those exceptions. Does anyone have similar experience when
trying to create a separate development environment using the same
installation and license? Do you have to do a new installation?</QUESTION>
<ANSWER>
Theoretically, the working directory JSP for the portal implementation that
tells the portal framework where to find your portal pages and the BEA
WebLogic Portal pages.(This page is qualified from yourDocumentRoot as
defined in the weblogic.properties file.)
Example: workingdir=/portals/myPortal/
You need to register the new working Dir in Weblogic.Properties files and
restart your Application Server after you create your new working Dir.
It is not easy to say with the situatrion that you described. Please check
the link http://edocs.beasys.com/wlac/portals/docs/portal.htm#getting for
details to create working Dir step by step. It may meet your needs. You may
also check http://www.weblogic.com/docs/admindocs/properties.html#jsp for
further information about JSP working Dir setting.
Please try it again and post the result if it's possible.
Thanks
Ji Zhang
</ANSWER> -
Weblogic.utils.StackTraceUtils not found
Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
I have an application that contains some JSPs and Servlets. I'm using
SilkPerformer to simulate multiple users. It was fine if I used only 200
virtual users, but I ran into the following problem when I used 250 (240
too).
It complained some kind of NullPointerException (see below) which never
happened for under 200 users. And then it complained this
weblogic.utils.StackTraceUtils not found. This class belongs to
/weblogic/classes which is in my weblogic.class.path when the server is
started.
I'm guess weblogic server ran into some unexpected exception and the
logger wanted to call this class to report the error. So I need to find
out 2 things:
1. how to reveal the real exception/error.
2. what to do to avoid the exception (since it worked fine for 200
virtual users).
For 1, I have no clue. Hope someone out there can help me.
For 2, I remember seeing "Too many opened files" at some run which may
indicating that, when handling too many users (250) at one time, WL
server has opened one copy of certain file (JSP/html) for each user and
used up system allowed file handles. If this is true, I may be able to
get rid of this problem by increasing the allowed number of file
handles. But I'd like to see a better solution (say, configure the
server certain way to share the files). By the way, this is not
happening on NT. Maybe NT has more allowed file handles and I can only
run as many as 250 users.
Anyway comments are appreciated.
-Wayne
----------------------- extract of server output --------------------
The errorIndices is currently: []
Hints validated.java.lang.NullPointerException
at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
Code)
at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at
weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
at weblogic.logging.LogManager.log(Compiled Code)
at weblogic.logging.LogOutputStream.error(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
java.lang.NullPointerException
at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
Code)
at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at
weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
at weblogic.logging.LogManager.log(Compiled Code)
at weblogic.logging.LogOutputStream.alert(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
is n\
o longer listening for connections.
Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
rest\
art it.
Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
system
Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
commencing \
NOW
Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
failed:\
java.lang.ThreadDeath
Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
Server i\
s no longer listening for connections.
Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
probably r\
estart it.
Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
system
java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
at
weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
at weblogic.logging.LogManager.log(Compiled Code)
at weblogic.logging.LogOutputStream.alert(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
hints are: [Ljava.lang.String;@1646d1e
hints are: [Ljava.lang.String;@ef3ad1
hints are: [Ljava.lang.String;@a43826
Thanks Sumanth and Cameron. I have 64 descriptors when I do "limit". I'm
not sure if that's my limit coz I could successfully simulate 200 users
at a time. I only have a few JSPs and a couple of HTMLs. Maybe Weblogic
is already sharing the files. Or maybe even for 200 users, at one time
no more than 64 descriptors are used.
I don't have super-user privileges. But I'll ask the admins to increase
the limit for me and see how that affects my results.
Appreciate your help.
-Wayne
Sumanth Yamala wrote:
>
> lsof gives the number of file descriptors open
>
> A common setting for high-load systems is a soft limit of 1024 and a hard
> limit of 4096.
>
> On Solaris, add the following to /etc/system:
>
> set rlim_fd_max=4096
> set rlim_fd_cur=1024
>
> And reboot with -r.
>
> You should not raise it past 1024 without first finding some
> documentation that confirms that it is safe to do so. Any number
> below that is safe.
>
> To add to the above Weblogic documentation has to say this:
>
> We have seen this situation when the user account runs out of file
> descriptors. On Solaris, each user account has a certain limited number of
> file descriptors. You can find out how many file descriptors you have with
> the limit command in csh.
>
> You can increase file descriptors if you have enough privileges with the
> unlimit command in the csh. Otherwise, you'll need to ask your system
> administrator to increase the file descriptors available to your processes.
>
> Another solution is to create a .zip file with all of the WebLogic classes,
> since a .zip file only requires a single file descriptor. If you do this,
> please note that there may be other problems associated with loading files
> from a .zip file, particularly with versions of the JDK before 1.1.3.
> (Previous to version 2.5, WebLogic has not distributed its classes in .zip
> format because of limitations in the JVM
>
> -Sumanth
>
> Wayne Xin wrote:
>
> > Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
> >
> > I have an application that contains some JSPs and Servlets. I'm using
> > SilkPerformer to simulate multiple users. It was fine if I used only 200
> > virtual users, but I ran into the following problem when I used 250 (240
> > too).
> >
> > It complained some kind of NullPointerException (see below) which never
> > happened for under 200 users. And then it complained this
> > weblogic.utils.StackTraceUtils not found. This class belongs to
> > /weblogic/classes which is in my weblogic.class.path when the server is
> > started.
> >
> > I'm guess weblogic server ran into some unexpected exception and the
> > logger wanted to call this class to report the error. So I need to find
> > out 2 things:
> >
> > 1. how to reveal the real exception/error.
> > 2. what to do to avoid the exception (since it worked fine for 200
> > virtual users).
> >
> > For 1, I have no clue. Hope someone out there can help me.
> >
> > For 2, I remember seeing "Too many opened files" at some run which may
> > indicating that, when handling too many users (250) at one time, WL
> > server has opened one copy of certain file (JSP/html) for each user and
> > used up system allowed file handles. If this is true, I may be able to
> > get rid of this problem by increasing the allowed number of file
> > handles. But I'd like to see a better solution (say, configure the
> > server certain way to share the files). By the way, this is not
> > happening on NT. Maybe NT has more allowed file handles and I can only
> > run as many as 250 users.
> >
> > Anyway comments are appreciated.
> >
> > -Wayne
> >
> > ----------------------- extract of server output --------------------
> > ...
> > The errorIndices is currently: []
> > Hints validated.java.lang.NullPointerException
> > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
> > Code)
> > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> > at
> > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
> > at weblogic.logging.LogManager.log(Compiled Code)
> > at weblogic.logging.LogOutputStream.error(Compiled Code)
> > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
> > java.lang.NullPointerException
> > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
> > Code)
> > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> > at
> > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
> > at weblogic.logging.LogManager.log(Compiled Code)
> > at weblogic.logging.LogOutputStream.alert(Compiled Code)
> > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
> > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
> > is n\
> > o longer listening for connections.
> > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
> > rest\
> > art it.
> > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
> > system
> > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
> > commencing \
> > NOW
> > Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
> > failed:\
> >
> > java.lang.ThreadDeath
> >
> > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
> > Server i\
> > s no longer listening for connections.
> > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
> > probably r\
> > estart it.
> > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
> > system
> > java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
> > at
> > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
> > at weblogic.logging.LogManager.log(Compiled Code)
> > at weblogic.logging.LogOutputStream.alert(Compiled Code)
> > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
> > hints are: [Ljava.lang.String;@1646d1e
> > hints are: [Ljava.lang.String;@ef3ad1
> > hints are: [Ljava.lang.String;@a43826
> > ....
-
OutOfMemoryError from weblogic.utils.io.Chunk
I am running WebLogic 8.1.2 and EJB 2.0.
The front-end is a Java applet.
When the users try to submit large file (>10M) to the application, the java.lang.OutOfMemoryError is thrown.
After some tracing, the exception is thrown from weblogic.utils.io.Chunk.
I searched the BEA documents and found about "weblogic.utils.io.chunkpoolsize" in WebLogic 9.
The default max. size for the "Chunk" is only 8M.
However, there is no documentation about how to increase the max "Chunk" size in WebLogic 8.
Would someone please point me to the instruction about how to increase the "Chunk Pool" size in WebLogic 8?
Thank you very much.Hello, I got ANSWER! about this problem..!!
I also applied CR346335 to my system, but there is still a OOME problem.(same problem)
And I tried to looking CR359183 on BEA, but couldn't find it.
(and my vendor said, BEA doesn't announce MP3 yet.)
Here is my answer...
You must use "Native I/O" on WLS 9.2 to avoid OOME
(if you use "Java I/O (same as "Not use Native I/O")", you can't help to face OOME soon...
If you must use 64bit JVM, you must use 64bit "Native I/O" too. (Because of this, I spent a lot of time to solve it.. T.T )
※ Make sure that the "Native I/O" apply successfully..!! You can see the WLS starting log to know whether it applied successfully or not.
You can see the effect of "Native I/O" on your WLS webadmin console.
Open up Browser, go webadmin console -> Environment -> Servers... and use "Customize this table" so you can see the two column blow..
1. Currently Open Sockets
2. Total Sockets Opened
Before you apply "Native I/O", you can see the "SOCKET" keep going to increase and never go down.
if you apply "Native I/O" successfuly, you can see the "SOCKET" temparary go up, but soon go down.
For more Information, mail to me [email protected]
Thanks... -
Hi,
I am using BEA Weblogic 8.1.4 With Database as SQL Server 2000 professional.
I created Connection pool successfully ,but at start of weblogic server i am getting following exception at server startup while initial deployment of my applicaion EAR.Can somebody help me to find out solution for same.
Thanks in advance.
EXCEPTION AT CONSOLE:---weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unexpected dbType: 2 ]
at weblogic.ejb20.utils.TableVerifier.getSequenceQuery(TableVerifier.java:630)
at weblogic.ejb20.utils.TableVerifier.verifySequence(TableVerifier.java:522)
at weblogic.ejb20.utils.TableVerifier.verifyOrCreateOrAlterSequence(TableVerifier.java:334)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.genKeySetup(RDBMSPersistenceManager.java:1196)
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:227)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:254)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:211)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1082)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1385)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3315)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2194)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2167)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)Can you post the full stack trace / error message?
Also, please send this to [email protected] as well.
-- Rob
Kelvin Kok wrote:
Getting this error weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated ] intermitent in Weblogic 7 sp1.
Anyone facing the same problem? -
does any one know why we get this call stack? what does this mean? We didn't change our deployment descriptor but it just comes up suddenly.
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ invalid assignment from 'Object' to 'Object' ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.utils.classfile.expr.LocalVariableExpression.codeAssign(LocalVariableExpression.java:38)
at weblogic.utils.classfile.expr.AssignStatement.code(AssignStatement.java:28)
at weblogic.utils.classfile.expr.CompoundStatement.code(CompoundStatement.java:26)
at weblogic.utils.classfile.CodeAttribute.setCode(CodeAttribute.java:44)
at weblogic.rmi.internal.StubGenerator.addMethodCode(StubGenerator.java:457)
at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:125)
at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:86)
at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:769)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:810)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:232)
at weblogic.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:45)
at weblogic.rmi.cluster.ReplicaAwareRemoteObject.initialize(ReplicaAwareRemoteObject.java:77)
at weblogic.rmi.cluster.ReplicaAwareRemoteObject.<init>(ReplicaAwareRemoteObject.java:50)
at weblogic.rmi.cluster.ClusterableRemoteObject.<init>(ClusterableRemoteObject.java:79)
at weblogic.rmi.cluster.ClusterableRemoteBinderFactory.getStateToBind(ClusterableRemoteBinderFactory.j
ava:45)
at weblogic.jndi.internal.WLNamingManager.getReplacement(WLNamingManager.java:180)
at weblogic.jndi.internal.WLNamingManager.getStateToBind(WLNamingManager.java:154)
at weblogic.jndi.internal.ServerNamingNode.rebindHere(ServerNamingNode.java:168)
at weblogic.jndi.internal.BasicNamingNode.rebind(BasicNamingNode.java:382)
at weblogic.jndi.internal.WLEventContextImpl.rebind(WLEventContextImpl.java:118)
at weblogic.ejb20.internal.StatelessEJBHome.activate(StatelessEJBHome.java:115)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1096)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:270)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
at weblogic.j2ee.Application.deploy(Application.java:429)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:241)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:2946)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2864)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1638)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1085)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:337)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
430)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
1034)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:340)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
430)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)You should contact [email protected]. That appears to be a WLS bug.
-- Rob
Guowei Shieh wrote:
does any one know why we get this call stack? what does this mean? We didn't change our deployment descriptor but it just comes up suddenly.
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ invalid assignment from 'Object' to 'Object' ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.utils.classfile.expr.LocalVariableExpression.codeAssign(LocalVariableExpression.java:38)
at weblogic.utils.classfile.expr.AssignStatement.code(AssignStatement.java:28)
at weblogic.utils.classfile.expr.CompoundStatement.code(CompoundStatement.java:26)
at weblogic.utils.classfile.CodeAttribute.setCode(CodeAttribute.java:44)
at weblogic.rmi.internal.StubGenerator.addMethodCode(StubGenerator.java:457)
at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:125)
at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:86)
at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:769)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:810)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:232)
at weblogic.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:45)
at weblogic.rmi.cluster.ReplicaAwareRemoteObject.initialize(ReplicaAwareRemoteObject.java:77)
at weblogic.rmi.cluster.ReplicaAwareRemoteObject.<init>(ReplicaAwareRemoteObject.java:50)
at weblogic.rmi.cluster.ClusterableRemoteObject.<init>(ClusterableRemoteObject.java:79)
at weblogic.rmi.cluster.ClusterableRemoteBinderFactory.getStateToBind(ClusterableRemoteBinderFactory.j
ava:45)
at weblogic.jndi.internal.WLNamingManager.getReplacement(WLNamingManager.java:180)
at weblogic.jndi.internal.WLNamingManager.getStateToBind(WLNamingManager.java:154)
at weblogic.jndi.internal.ServerNamingNode.rebindHere(ServerNamingNode.java:168)
at weblogic.jndi.internal.BasicNamingNode.rebind(BasicNamingNode.java:382)
at weblogic.jndi.internal.WLEventContextImpl.rebind(WLEventContextImpl.java:118)
at weblogic.ejb20.internal.StatelessEJBHome.activate(StatelessEJBHome.java:115)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1096)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:270)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:83)
at weblogic.j2ee.Application.deploy(Application.java:429)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:241)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:2946)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:2864)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1638)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1085)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:337)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
430)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:
1034)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:340)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.private_setAttribute(RemoteMBeanServerImpl.java:
430)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:386)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Maybe you are looking for
-
Hi All, I have an interface which need to compare snapshots of the employee vendor file (FK03) on current versus previous days and send those changes to the third party. Can anybody suggest me how can we do this? Thanks
-
.MOD to .MOV File gew very large following conversion
I had a .MOD file on my JVC that was 1.5GB in size (approximately 27mins in length) and I wanted to get it over to iMovie HD. I used software called 'mpegstreamclip' to covert it to a .MOV file. The conversion was successful and the video quality is
-
Hi Experts, I am doing one scenario for merging the Idocs data in BPM and sending this one as file.I have done the following steps in BPM A. Loop with infinite 1.Receive 2.Container Operation(Append) 3.Container Operation(Assign)
-
Does any one know if/when more companies will sign up to using Passbook in the UK?
Hi, I really enjoy using Passbook but there aren't many companies currently using it. Does any one know whether we will have more companies or brands signing up to use Passbook soon? Thanks
-
Random Win7 Restarts, no Kernel-Power event
So, I just got a new SSD and installed the Win7 Premium x64 and I get continuous random restarts after some time the PC is on. I have checked the temperature of the system and there is no problem. In addition, I see many errors in the event viewer ab