Admin console showing stack trace for JNDI
A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'customResources'"
The root cause is "javax.management.MalformedObjectNameException: Invalid character ':' in value part of property"
See the HTML source for more detailed (stack trace) information.
Below are 2 stack traces to help diagnose the problem. The first is the
traditional stack trace, the second is a full stack trace to the root cause.
Stack Trace:
================
com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'error' event for 'customResources'.
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:777)
at com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:426)
at com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:283)
at com.sun.enterprise.tools.guiframework.view.BaseServlet.onUncaughtException(BaseServlet.java:202)
at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
Caused by: java.lang.reflect.InvocationTargetException
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:585)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
... 39 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkError: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'resourceTable'.
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.beforeCreate(DescriptorViewHelper.java:344)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.createChild(DescriptorViewHelper.java:242)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.createChild(DescriptorViewBeanBase.java:125)
at com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
at com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
at com.sun.enterprise.tools.guiframework.view.descriptors.ViewDescriptor.registerChildren(ViewDescriptor.java:192)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.registerViewDescriptorChildren(DescriptorViewHelper.java:68)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.registerViewDescriptorChildren(DescriptorViewBeanBase.java:117)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.<init>(DescriptorViewBeanBase.java:60)
at com.sun.enterprise.tools.guiframework.view.descriptors.ViewBeanBaseDescriptor.getInstance(ViewBeanBaseDescriptor.java:37)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getView(DescriptorViewManager.java:199)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getView(DescriptorViewManager.java:159)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getViewBean(DescriptorViewManager.java:59)
at com.sun.enterprise.tools.guiframework.event.handlers.NextPageHandler.forwardTo(NextPageHandler.java:38)
... 50 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetException while attempting to process a 'beforeCreate' event for 'resourceTable'.
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:777)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.beforeCreate(DescriptorViewHelper.java:337)
... 63 more
Caused by: java.lang.reflect.InvocationTargetException
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:585)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
... 64 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: com.sun.enterprise.tools.guiframework.exception.FrameworkException: com.sun.enterprise.tools.guiframework.exception.FrameworkException: javax.management.MBeanException: Operation 'getCustomResource' failed in 'resources' Config Mbean.
Target exception message: Invalid character ':' in value part of property
at com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:136)
... 73 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: com.sun.enterprise.tools.guiframework.exception.FrameworkException: javax.management.MBeanException: Operation 'getCustomResource' failed in 'resources' Config Mbean.
Target exception message: Invalid character ':' in value part of property
at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:57)
at com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:123)
... 73 more
Caused by: com.sun.enterprise.tools.guiframework.exception.FrameworkException: javax.management.MBeanException: Operation 'getCustomResource' failed in 'resources' Config Mbean.
Target exception message: Invalid character ':' in value part of property
at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:155)
at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)
... 74 more
Caused by: javax.management.MBeanException: Operation 'getCustomResource' failed in 'resources' Config Mbean.
Target exception message: Invalid character ':' in value part of property
at com.sun.enterprise.admin.MBeanHelper.extractAndWrapTargetException(MBeanHelper.java:371)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:382)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)
... 75 more
Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
at javax.management.ObjectName.construct(ObjectName.java:529)
at javax.management.ObjectName.<init>(ObjectName.java:1304)
at com.sun.enterprise.admin.meta.naming.MBeanNamingDescriptor.createObjectName(MBeanNamingDescriptor.java:360)
at com.sun.enterprise.admin.config.ConfigMBeanHelper.getConfigBeanObjectName(ConfigMBeanHelper.java:224)
at com.sun.enterprise.admin.config.ConfigMBeanHelper.getConfigBeansObjectNames(ConfigMBeanHelper.java:213)
at com.sun.enterprise.admin.config.ConfigMBeanHelper.getChildObjectNames(ConfigMBeanHelper.java:200)
at com.sun.enterprise.admin.config.ConfigMBeanHelper.converConfigBeansToObjectNames(ConfigMBeanHelper.java:143)
at com.sun.enterprise.admin.config.ManagedConfigBean.invokeOperation(ManagedConfigBean.java:1281)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:366)
... 86 more
================
Full Trace:
================
javax.management.ObjectName.construct(ObjectName.java:529)
javax.management.ObjectName.<init>(ObjectName.java:1304)
com.sun.enterprise.admin.meta.naming.MBeanNamingDescriptor.createObjectName(MBeanNamingDescriptor.java:360)
com.sun.enterprise.admin.config.ConfigMBeanHelper.getConfigBeanObjectName(ConfigMBeanHelper.java:224)
com.sun.enterprise.admin.config.ConfigMBeanHelper.getConfigBeansObjectNames(ConfigMBeanHelper.java:213)
com.sun.enterprise.admin.config.ConfigMBeanHelper.getChildObjectNames(ConfigMBeanHelper.java:200)
com.sun.enterprise.admin.config.ConfigMBeanHelper.converConfigBeansToObjectNames(ConfigMBeanHelper.java:143)
com.sun.enterprise.admin.config.ManagedConfigBean.invokeOperation(ManagedConfigBean.java:1281)
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:366)
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
$Proxy1.invoke(Unknown Source)
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)
com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)
com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:123)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.beforeCreate(DescriptorViewHelper.java:337)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.createChild(DescriptorViewHelper.java:242)
com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.createChild(DescriptorViewBeanBase.java:125)
com.iplanet.jato.view.ContainerViewBase.ensureChild(ContainerViewBase.java:187)
com.iplanet.jato.view.ContainerViewBase.getChild(ContainerViewBase.java:541)
com.sun.enterprise.tools.guiframework.view.descriptors.ViewDescriptor.registerChildren(ViewDescriptor.java:192)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.registerViewDescriptorChildren(DescriptorViewHelper.java:68)
com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.registerViewDescriptorChildren(DescriptorViewBeanBase.java:117)
com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.<init>(DescriptorViewBeanBase.java:60)
com.sun.enterprise.tools.guiframework.view.descriptors.ViewBeanBaseDescriptor.getInstance(ViewBeanBaseDescriptor.java:37)
com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getView(DescriptorViewManager.java:199)
com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getView(DescriptorViewManager.java:159)
com.sun.enterprise.tools.guiframework.view.DescriptorViewManager.getViewBean(DescriptorViewManager.java:59)
com.sun.enterprise.tools.guiframework.event.handlers.NextPageHandler.forwardTo(NextPageHandler.java:38)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:840)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:426)
com.sun.enterprise.tools.guiframework.view.BaseServlet.handleException(BaseServlet.java:283)
com.sun.enterprise.tools.guiframework.view.BaseServlet.onUncaughtException(BaseServlet.java:202)
com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(Native Method)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
================
This appears to be a bug. But may I request more information here?
Are there any resources that have jndi-names with some non-alpha-numeric characters in them? Can you just check the jndi-names that you have defined while creating the resources/connection-pools?
Thanks,
Kedar
Similar Messages
-
some one can help me please
i have no idea what i must to do.
an unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.The Exception Handler gave all the info that you need. No need to print the whole stack trace.
The exception handler says
Exception Details: java.lang.IllegalArgumentException
TABLE1.NAME
Look in the session bean (assuming that is where your underlying rowset is). Look in the _init() method for statements similar to the following:
personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
personRowSet.setTableName("PERSON");
What do you have? -
Good stack trace for runtime errors?
Is there any way to get a good stack trace for runtime errors, as in real line numbers and source file text? all i can find via google is posts about 'javap -c', but the posts are a couple of years old. i am hoping we've made some progress in this area.
thanks,
tom arnall
north spit, ca
usaRight now some of the device menufacturers are providing thier tools for realtime on device debugging. As per my knowledge, Motorola, SonyErricsson & Nokia are providing these types of tools.
Amonst those I have used Motorola KDWP debuger. Its really very helpful. There is one other tool named "MIDWay" which provides trace of debug statments like "System.out.println" on the screen, while running application of the device. -
JDialog subclass for optionally showing stack trace from exceptions?
hi,
does anyone know of some code/jar that includes a widgit that displays an error message, and has a button for toggling an exception stack trace on or off?
this would be like the segmentation fault dialog on windows except instead of the grungy register contents you'd get the grungy stack trace..
just trying to avoid having write one myself.. :)
thanks,
asjfthis sounds like one:
http://www.yworks.com/products/yDoc/showcase/batik-1.5/org/apache/batik/util/gui/JErrorPane.html -
Sun AS 9.1 UR2 Admin console doesn't ask for login name and password
I have an instance of Sun AS 9.1 installed on Linux, that has broken admin console. The console never asks for login and password, just lets the user to do anything.
I didn't set it up and I've never seen that. There's Policy Agent installed because of some apps and maybe this is causing the problem. But I don't know. I just need to secure the console (anyhow).
Any ideas what could happen? Any hints where to look, what libs could be overwritten by bad version or something?This is probably the only thread that relates to the problem i am facing.
I have encountered the same issue whereby the user ID shows up empty.
Accessing the console without having the need to enter credentials is causing me some serious security issues.
Martin777, have you found any ways to secure your console?
Thanks. -
Xrunhprof - no stack trace for int[] object
Before I assume this is something peculiar to my own situation, I want to
ask if anyone has seen anything like this before. Our web application
(running on WLS6.1 SP2) has a memory problem. Below is the output from
running the server with Xrunhprof flag - I did it two times...
first time... (ran the server for longer)
SITES BEGIN (ordered by live bytes) Tue Jun 18 12:42:21 2002
percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 21.72% 21.72% 6140976 186 6140976 186 19514 [B
2 14.37% 36.09% 4063232 2 4063232 2 0 [I
second time ....
SITES BEGIN (ordered by live bytes) Tue Jun 18 14:20:42 2002
percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 14.60% 14.60% 2773344 84 2773344 84 17463 [B
2 13.46% 28.06% 2555904 2 2555904 2 0 [I
I know what the byte array objects are - they are related to OCI / prepared
statements.
The second line is what has me more worried - as there is no stack trace
number, and that it grows while the app is running for longer.
If any of you has ever encountered something like this, I'd appreciate your
suggestions.
Thanks,
-e.This is a bug in the .NET Coherence libraries (Bug 9137660 )
Example program demo-ing the problem is below:
Bug 9137660
Hi, I've created a small example to demonstate the problem with the stack trace. The code is below, the output is:
78 [10] ERROR LogExample.Program (null) - Tangosol.Net.RequestTimeoutException
109 [10] ERROR LogExample.Program (null) - LogExample.MyException: Exception of
type 'LogExample.MyException' was thrown.
at LogExample.Program.CreateNormalException() in C:\dev\code\LogExample\LogEx
ample\LogExample\Program.cs:line 59
at LogExample.Program.Main(String[] args) in C:\dev\code\LogExample\LogExampl
e\LogExample\Program.cs:line 31
109 [10] ERROR LogExample.Program (null) - LogExample.MySpecialTimeoutException
The first and last cases involve Coherence exceptions, yet the second merely subclasses exception. Is this behaviour by design?
using System;
using Tangosol.Net;
using log4net;
using log4net.Config;
namespace LogExample
class Program
private static readonly ILog _logger = LogManager.GetLogger(typeof(Program));
static void Main(string[] args)
BasicConfigurator.Configure();
//_logger.Info("log4net message from Main()");
//CacheFactory.Log("log message to coherence from Main()", CacheFactory.LogLevel.Always);
//Console.WriteLine("log message to console");
Exception rto = null;
Exception ex = null;
try
CreateRequestTimeout();
catch (Exception e)
rto = e;
_logger.Error(e);
try
CreateNormalException();
catch (MyException e)
ex = e;
_logger.Error(e);
try
CreateMySpecialTimeoutException();
catch (MySpecialTimeoutException e)
ex = e;
_logger.Error(e);
Console.ReadLine();
public static void CreateRequestTimeout()
throw new Tangosol.Net.RequestTimeoutException();
public static void CreateNormalException()
throw new MyException();
public static void CreateMySpecialTimeoutException()
throw new MySpecialTimeoutException();
class MyException : Exception
class MySpecialTimeoutException : Tangosol.Net.RequestTimeoutException
} -
Stack trace for debugging transaction problems
We are using CR 2008 SP2, SQL Server 2000 and VS 2005.
We are having issues with deadlocks in our database. If we run a report which has a stored procedure as its datasource and someone else is inserting a record into the table that the stored procedure needs to read, the stored procedure is the victim in the deadlock.
The error message is
"Error in File OC2 {52EE54E2-54F7-42 etc.}.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code 1205]"
We want to try to debug this issue and we would like to get some information from the RPT or from our application, which is already logging. Is there anyway to get a stack trace from the DLL that is involved on the Crystal side of this deadlock?
Thanks.I do not think there is anything like that as far as CR is concerned. However a suggestions that came up from Googling the error message:
You may want to try setting up a stored procedure or a DTS job that will copy your data from the "production" tables over to a set of "reporting" tables and then point all of your reports to the reporting set of tables. You're less likely to encounter deadlock issues that way because DTS will wait until the lock is released to copy the data and then the Crystal reports will be pulling from tables that aren't being updated. If you schedule the DTS jobs to run 2 minutes before the reports you should have plenty of time for them to finish before the reports are generated.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
Caught exception still showing stack trace
I have a piece of code which attempts to draw some data out of a JPEG. The line that actually gets the data will raise a com.sun.image.codec.jpeg.TruncatedFileException: Premature end of input file, if you have a corrupt JPEG. If I put the code in a "try" block, and try to catch com.sun.image.codec.jpeg.TruncatedFileException, the catch never gets executed. But if I do a generic catch by just catching Exception, the catch block DOES get executed. HOWEVER... Even though the catch block is executed, and I have a line that says "System.out.println("Found a problem");" or something like that, Java still outputs a stack trace as well. This is making me think that maybe it is throwing 2 exceptions? But if I put another try block around it, it still does the same thing.... Here is a snippet of my code, followed by the stack trace.
RenderedImage meanImage = JAI.create("mean", pb, null);
double[] mean;
try {
mean = (double[])meanImage.getProperty("mean");
} catch (Exception e) {
System.out.println("Caught in getProperty.");
return;
NOTE: The line "mean = (double[])meanImage.getProperty("mean");
is the one throwing the exception. And I've tried the catch block with and without the return statement.
Here is the stack trace...
Corrupt JPEG data: premature end of data segment
com.sun.image.codec.jpeg.TruncatedFileException: Premature end of input file
at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)
at sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(JPEGImageDecoderImpl.java:210)
at com.sun.media.jai.codecimpl.JPEGImage.<init>(JPEGImageDecoder.java:112)
at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:51)
at com.sun.media.jai.opimage.CodecRIFUtil.create(CodecRIFUtil.java:89)
at com.sun.media.jai.opimage.JPEGRIF.create(JPEGRIF.java:52)
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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)
at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:104)
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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)
at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
at com.sun.media.jai.opimage.FileLoadRIF.create(FileLoadRIF.java:109)
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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)
at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:805)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:853)
at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:874)
at javax.media.jai.RenderedOp$1.getPropertyNames(RenderedOp.java:1777)
at javax.media.jai.PropertyEnvironment.mapDefaults(PropertyEnvironment.java:280)
at javax.media.jai.PropertyEnvironment.getPropertyNames(PropertyEnvironment.java:135)
at javax.media.jai.WritablePropertySourceImpl.addProperties(WritablePropertySourceImpl.java:306)
at javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1803)
at javax.media.jai.RenderedOp.getPropertyNames(RenderedOp.java:1837)
at javax.media.jai.PropertyEnvironment.hashNames(PropertyEnvironment.java:319)
at javax.media.jai.PropertyEnvironment.<init>(PropertyEnvironment.java:125)
at javax.media.jai.DescriptorCache.getPropertySource(DescriptorCache.java:1198)
at javax.media.jai.OperationRegistry.getPropertySource(OperationRegistry.java:1941)
at javax.media.jai.ThreadSafeOperationRegistry.getPropertySource(ThreadSafeOperationRegistry.java:595)
at javax.media.jai.OperationRegistry.getPropertySource(OperationRegistry.java:1980)
at javax.media.jai.ThreadSafeOperationRegistry.getPropertySource(ThreadSafeOperationRegistry.java:608)
at javax.media.jai.OperationNodeSupport.getPropertySource(OperationNodeSupport.java:624)
at javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1800)
at javax.media.jai.RenderedOp.getProperty(RenderedOp.java:1924)
at plugins.medianEvaluator$Evaluate.Caught in getProperty.
Name: /home/jimdrewes/TEST.JPG Color: java.awt.Color[r=0,g=0,b=0]
<init>(medianEvaluator.java:74)
at plugins.medianEvaluator$1.construct(medianEvaluator.java:41)
at plugins.SwingWorker$2.run(SwingWorker.java:110)
at java.lang.Thread.run(Thread.java:536)
java.lang.reflect.InvocationTargetException
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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)
at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
at com.sun.media.jai.opimage.FileLoadRIF.create(FileLoadRIF.java:109)
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 javax.media.jai.FactoryCache.invoke(FactoryCache.java:130)
at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1669)
at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:481)
at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:340)
at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:805)
at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:853)
at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:874)
at javax.media.jai.RenderedOp$1.getPropertyNames(RenderedOp.java:1777)
at javax.media.jai.PropertyEnvironment.mapDefaults(PropertyEnvironment.java:280)
at javax.media.jai.PropertyEnvironment.getPropertyNames(PropertyEnvironment.java:135)
at javax.media.jai.WritablePropertySourceImpl.addProperties(WritablePropertySourceImpl.java:306)
at javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1803)
at javax.media.jai.RenderedOp.getPropertyNames(RenderedOp.java:1837)
at javax.media.jai.PropertyEnvironment.hashNames(PropertyEnvironment.java:319)
at javax.media.jai.PropertyEnvironment.<init>(PropertyEnvironment.java:125)
at javax.media.jai.DescriptorCache.getPropertySource(DescriptorCache.java:1198)
at javax.media.jai.OperationRegistry.getPropertySource(OperationRegistry.java:1941)
at javax.media.jai.ThreadSafeOperationRegistry.getPropertySource(ThreadSafeOperationRegistry.java:595)
at javax.media.jai.OperationRegistry.getPropertySource(OperationRegistry.java:1980)
at javax.media.jai.ThreadSafeOperationRegistry.getPropertySource(ThreadSafeOperationRegistry.java:608)
at javax.media.jai.OperationNodeSupport.getPropertySource(OperationNodeSupport.java:624)
at javax.media.jai.RenderedOp.createPropertySource(RenderedOp.java:1800)
at javax.media.jai.RenderedOp.getProperty(RenderedOp.java:1924)
at plugins.medianEvaluator$Evaluate.<init>(medianEvaluator.java:74)
at plugins.medianEvaluator$1.construct(medianEvaluator.java:41)
at plugins.SwingWorker$2.run(SwingWorker.java:110)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.RuntimeException: Unable to process image stream, incorrect format.
at com.sun.media.jai.codecimpl.JPEGImage.<init>(JPEGImageDecoder.java:114)
at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:51)
at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:148)
at com.sun.media.jai.opimage.StreamRIF.create(StreamRIF.java:135)
... 40 more
I'm using Forte as my development environment, and JAI to do imaging stuff.
Any help would be great.
Thanks,
-Jim Drewes
www.jimdrewes.comActually, if you look at the stack trace close enoughI told you I didn't read the stack trace... I never will read anything that you don't bother simplifying down, perhaps since *you* knew where this was you could have pointed it out...
Because your line is being printed in the middle of the stack trace is a *BIG* hint that the exception you are catching is not the one that is printing the stack trace.
So its almost like its catching an error
after it raises a DIFFERENT not-caught error.Which is eactly what I told you... And by the position of your ESystem.out line there is also an (several?) un-caught error after your caught error.
I tried putting all of those create
statements in their own try blocks,
but it still gave me the same error.Are you sure its the same exceptio, and not other exceptions.
I also stuck in a MediaTracker yesterday...
The tracker comes back just fine,
with no errors on the image being
loaded. But when the data gets drawn
out, it raises this error again.Maybe have a google for image loading and java.awt.image.ImageObserver for some more clues. -
Reports and Console Show Different Information for Compliance
Hello,
Could someone enlighten me as to why for a specific Software Update deployment group I should see different compliance figures when I look at the deployment status in the console and when I run a Software Updates - A Compliance report?
For example for a recent batch of updates sent out I get the following figures from the Monitoring > Deployments part of the console; Total Assets 4,239, Compliant 2821, In Progress 37, Error 14, Unknown 1367.
If a run a report for the same batch of updates I get; Total Assets 4,238, Compliant 3343, Non-compliant 725, Unknown 170.
I suspect the difference might be due to a change having taken place for the set of updates e.g. Microsoft changed one of the updates to expired etc. and this has caused the clients to have to check their compliance status again.
What changes to an update that is part of a deployed update group would cause clients to have to check their compliance again and why would the report be different to the console?
Thank you for any help / advice.
StephenHello,
I would be interested to know how the two different ways of looking at what should be roughly the same data can show quite different stats. At the moment for one deployment of software updates the Deployment Status pie-chart tells me that 3,006 clients are
compliant but the report tells me that 3,360 are compliant.
What seems to have happened is that an update that is part of the deployment changed its status so that the clients are having to check their compliance status again. This is slowly happening and I can see on the Deployment Status pie-chart the number of
compliant clients is slowly going up but on the report the compliant number seems to have remained high almost as if the need for the clients to re-check their compliance has not been taken into account.
Thanks.
Stephen -
Flash Admin Console shows no applications on my Flash Media Server?
Hi all,
My employer has a Flash Media Server that I wrote a little streaming video app for a couple years ago. Well, the videos have stopped working and I've been asked to troubleshoot. I fired up the fms_adminConsole.swf and connected to my server. Now, it's been a long time since I've messed with the server, but if I remember right, there was a big list of apps on the list on the left hand side of the "View Applications" view of the console. When I log in, there are no applications listed. If I hit the "New Instance" button under the empty list, I'm presented with a list of all the apps I think I should be seeing in the Applications list. If I select any of these, a new application instance appears in the applications list, and I'm prompted to give it a name, the default being "_definst_". If I hit enter to create this instance, it remains on the list and instance data appears on the right panel until the console refreshes, and then all that vanishes and I'm back to an empty applications list again.
Going to "Manage Servers", I do see a list of applications under the applications tab that I expect to see. The app that streams the video that's having problems is there on the list.
Is this typical behavior for the Flash Media Server Console? Shouldn't I have a list of apps in the "View Applications" section of the console? I've created about a dozen to date, and they're all listed under Manage Servers > Applications, but not under "View Applications". Can anyone point out if I'm doing something wrong here or missing something? Or can someone confirm that I SHOULD be seeing something under "View Applications" and that there is indeed something weird going on with the server.
Thanks for any assistance!What you are seeing is correct behaviour. Until and unless applications are loaded or some clients are connected to them, they wont be shown under view applications tab by default. Try connecting to one of the applications you have and then you will see it automatically gets listed there.
-
Admin Console -- Sign in error for user oc4jadmin
Getting the following error when trying to login using the oc4j application sever control console. I can successfully administer the oc4j server via command line with the used is oc4jadmin and password but cannot get in via online
The stored administration credentials are invalid; please log in as a user with the oc4j-administrators role.Hello hmcom,
Looking at your URL, I've noticed that both
http://baltimorecarpets.com
and
http://www.baltimorecarpets.com
are registered to the InContext Editing service. InContext Editing
sees them as two separate sites and the users associated with them
are not shared between sites.
The problem that you have might be caused by the fact that
the publishers have been invited for one of these sites, but when
they try to login they are using the other URL (with or without the
'www' part). You should keep a single site registered (the one that
has the publishers invited), and delete the other one (using the
Remove website button from the InContext Editing Portal). Also, you
should instruct the publishers to
Please let us know if you have any questions/problems.
Thank you,
Florin -
Admin console nullpointerexception
Hi all,
Thanks in advance for your help.
Just installed j2ee on a Mandrake 10.1 box, appserver8.2 runs, all sample apps run, the command line works, and i can get to the login page for the admin console. After I attempt to login, I"m forwarded to: http://localhost:4848/asadmin/admingui/TopFrameset, but the admin console shows a few frames all with same error text in them:
**********A "com.sun.enterprise.tools.guiframework.exception.FrameworkException" was caught. The message from the exception: "java.lang.reflect.InvocationTargetException while attempting to process a 'error' event for 'homePage'."
The root cause is "com.iplanet.jato.NavigationException: Exception encountered during forward"
See the HTML source for more detailed (stack trace) information.*********
The HTML source doesn't say anything.
I've uninstalled and reinstalled several times and even tried the new beta version, appserver9.
Anyone have any ideas what the problem might be?
thanks againDon't know why, but the admin console won't open using Konqueror 3.2.0 web browser but would open using Epiphany 1.0.7 web browser. Sometimes i hate Linux systems.
Thanks for trying. -
Exception when deploying application using admin console
Whenever I deploy an application using the admin console window, I get a DistributedExcpetion,
The application gets deployed though! so I am assuming that this is not very critical,
but If somebody can tell me what this is then It would be really helpful.
Thx-
Iqbal
Here is the exception stack trace:-
java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
Distributed Management [1 exceptions]
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy10.setDeployed(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
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)
--------------- nested within: ------------------
weblogic.management.console.utils.SetException: An error occurred while updating
Deployed on Proxy for mydomain:Name=cmeEJB,Type=Application - with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]]]
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
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)Hi.
Thanks for the additional info.
I found 2 similar issues with similar stack traces for WLS 6.1 sp2. One of the issues we could not reproduce, and in the
end the customer reinstalled WLS and the problem went away. The other issue was found internally and is not currently
active. I'm not 100% sure your situation is identical to one of these.
Therefor I suggest the following course of action:
1. Since this is an intermittant problem try reinstalling WLS. If that doesn't help then...
2. open a case with support. It may not be a major issue, but we need to be sure of this.
Hope this helps,
Michael
Iqbal wrote:
I am running WLS version 6.1 with sp2. I get this error every once in a while.
Thx!
-Iqbal
Michael Young <[email protected]> wrote:
Hi.
This may be a known issue, but I need more info. What version (including
service pack level) of WLS are you running?
Also, if you are not running sp2 please apply it and test to see if you
are still seeing this.
Let me know what you find.
Thanks,
Michael
Iqbal wrote:
Whenever I deploy an application using the admin console window, I geta DistributedExcpetion,
The application gets deployed though! so I am assuming that this is notvery critical,
but If somebody can tell me what this is then It would be really helpful.
Thx-
Iqbal
Here is the exception stack trace:-
java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
Distributed Management [1 exceptions]
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy10.setDeployed(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
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)
--------------- nested within: ------------------
weblogic.management.console.utils.SetException: An error occurred whileupdating
Deployed on Proxy for mydomain:Name=cmeEJB,Type=Application - with nestedexception:
[java.lang.reflect.InvocationTargetException - with target exception:
[weblogic.management.DistributedManagementException: Distributed Management
[1 exceptions]]
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
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)--
Michael Young
Developer Relations Engineer
BEA Support
Michael Young
Developer Relations Engineer
BEA Support -
Starting an App using Admin Console - confusing message
I tried starting my 'App' and the messages indicate success but say failure.
I am confused.
Here is a CUT/PASTE of the "Progress of Activation (Entire Domain)" window.
I also attach my config file for consideration...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
********CHECKING SYSTEM RESOURCES
Security=NONE
********ACTIVATING ADMINISTRATIVE SERVERS ON MASTER SITE
Could not Activate the Administrative Servers.
Domain=poc
Master=PACEMid1 [A.Central.poc.customs.gov.au]
State=INACTIVE
Options=LAN,MIGRATE
[Operation: SET T_DOMAIN STATE:ACTIVE]
[Message: Success]
The activation attempt has failed. Check
the information printed above for possible
reasons for the failure.
******END OF MESSAGES******
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[config.txt]Lyall,
You are corect that you only need the compiled TUXCONFIG file on the
master machine, the boot process will propagate it to the other machines.
I am unclear as to what your problem is now, where is the boot failing?
Are there any errors in the ULOG file on the master machine, or the
other machine?
The tlisten process must be started manually (or via UNIX startup
scripts) the tmboot brings up application servers. This application
boot process that may require the tlisten to be running in advance.
There is no way that the boot process "thinks it is starting the tlisten"
Please post some more information about what your current problem is!
Regards,
Peter.
Got a Question? Ask BEA at http://askbea.bea.com
The views expressed in this posting are solely those of the author, and BEA
Systems, Inc. does not endorse any of these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness of
the
information provided
and assumes no duty to correct, expand upon, delete or update any of the
information contained in this posting.
Lyall Pearce wrote:
Thankyou Peter for responding so quickly.
I am still having difficulty. (Linux unix in case you are wondering)
The admin console thinks it is ok starting the master (cos it thinks it is starting
the tlisten process when I know one is already running)
[tuxadm@PACEMid1 poc]$ ps -fae | grep tlisten
tuxadm 14653 1 0 18:10 pts/10 00:00:00 tlisten -l //PACEMid1:12344
tuxadm 14799 11238 0 18:29 pts/10 00:00:00 grep tlisten
[tuxadm@PACEMid1 poc]$
It also thinks that it is not running on the second machine and so, fails to start
up the second machine. I know the tlisten is running on the second machine.
[tuxadm@PACEMid2 poc]$ ps -afe | grep tlisten
tuxadm 2891 1 0 08:51 pts/8 00:00:00 tlisten -l //PACEMid2:12344
tuxadm 2954 1111 0 09:04 pts/8 00:00:00 grep tlisten
[tuxadm@PACEMid2 poc]$
The admin console shows the full configuration (wonderful stuff really)
My config file has been updated now that I understand the difference between NADDR
and NLSADDR (maybe some synonyms in these config files that are more intuitive
would be helpful!)
I have only shown what I understand to be the relevant networking entries here.
*MACHINES
"PACEMid1"
LMID = "Central.A.poc.customs.gov.au"
TUXDIR = "/opt/bea/tuxedo8.0"
APPDIR = "/home/tuxadm/poc"
TUXCONFIG = "/home/tuxadm/poc/tuxconfig.poc.customs.eds.au"
"PACEMid2"
LMID = "Adl.A.poc.customs.gov.au"
TUXDIR = "/opt/bea/tuxedo8.0"
APPDIR = "/home/tuxadm/poc"
TUXCONFIG = "/home/tuxadm/poc/tuxconfig.poc.customs.eds.au"
*NETWORK
"Central.A.poc.customs.gov.au"
NADDR = "//205.239.97.151:12345"
NLSADDR = "//205.239.97.151:12344"
"Adl.A.poc.customs.gov.au"
NADDR = "//205.239.97.198:12345"
NLSADDR = "//205.239.97.198:12344"
In summary:
I seem to be in control of the master machine by default since it gives the impression
it is starting it's own tlisten process (which I am unable to find).
I am not in control of the second machine.
I have compiled the Config file on the master machine only (it does not exist
on the second machine), I gather that it will be replicated to the second machine.
..Lyall -
How to get Java source in applet stack trace to debug Java security manager
How can I get line numbers for Java source in stack traces for my applet? I'm having a problem with my code-signing certificate. On one of my applets, I consistently get a NullPointerException inside the security dialog code in the JDK. As a result, either the "trust this applet" dialog never appears, or even though it appears, it defaults to untrusted because of the exception, so I can't access any local files (and that's a bit of a problem for an applet whose sole purpose is to upload files to our server). I unzipped src.zip in my JDK directory and set the debug flag for my Ant <javac> task as well as set debuglevel to "lines." Anything else? Here's the trace that I'm getting so far. See that after the NullPointerException it assumes that the user has denied permission. If I could read this Java source maybe I could figure out why it hates my code-signing certificate (jarsigner, BTW, never complains when I verify my jar).
security: Blacklist file not found or revocation check is disabled
security: Accessing keys and certificate in Mozilla user profile: null
security: Loading Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from D:\Program Files (x86)\Java\jre6\lib\security\cacerts
security: Loading Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from C:\Users\Rich\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA has been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: Start checking trusted extension for this certificate
security: Start comparing to jurisdiction list with this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
java.lang.NullPointerException
at com.sun.deploy.ui.UIFactory.showSecurityDialog(Unknown Source)
at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
at com.sun.deploy.security.X509Util.showSecurityDialog(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.getTrustedCodeSources(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)
at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$700(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
security: User has denied the priviledges to the code
security: Adding certificate in Deployment denied certificate store
security: Added certificate in Deployment denied certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA has been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: Start checking trusted extension for this certificate
security: Start comparing to jurisdiction list with this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment denied certificate storeRats, now that I look at the stack trace and compare to what's in the JDK srce.zip, it appears that most of this code is not part of the JDK source. I don't see any com/sun/deploy, etc.
Maybe you are looking for
-
Hi Guys, Unfortunately the main server crashed and I have re-installed Server 2008 R2 Standard in it. The server had only ADDS, DNS Services and File Services. I have the AD on a desktop computer where Server 2008 R2 Standard is installed. All the us
-
Oracle.jbo.domain.date
hye all.i need help here.I'm developing a master detail using adf. My problem is i want to add month to a date..my date is in CoreSelectInputDate date1 while my month is in CoreInputText month. how to do this in oracle.jbo.domain.date.. for example :
-
I have just built a website, ensuring that it works on all browsers, firefox, safari, and IE (I believe the newest IE) When I built my first page it worked on all browsers except IE, (the content and Navigation would drastically move to the left) so
-
Why if I'm trying the fade effect from the behaviors panel, my image isn't fading? Does it not work on images? Can my image not be placed in a table cell? I placed a div tag in front of "img src" Please help, thanks.
-
[Solved] Syslinux: changing menu position on screen?
Hi there! I'm trying to adjust the menu-position in syslinux to get the menu out of the upper left corner. I'm using a 1920x1080 resolution with a fitting backgroundimage. But I cannot find any information about how to use parameters like "VSHIFT" in