Application Stack trace visible to user
Hello All,
Is there any way in which i can disable the visibility of application stack trace to users. Here i am not talking about the Webdynpro Java application. I can be any portal application or an KM iview.
The reason i have to do this is, at times when there is an error in an application or an ivew the stack trace is completely visible to the user and it can be used in an wrong and manipulative manner. So instead of the stack trace can any other message be shown to the user? and how can that be acheived?
Thank in advance
Jeet Tibrewala
Hi Jeet,
Check the below link which mentions how to acheive this.
http://wiki.sdn.sap.com/wiki/display/EP/CustomizingErrorMessagesinPortal
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18398
Cheers
Deb
Similar Messages
-
Dear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S EDear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S E -
Empty Weblogic Server 8.1 SP1 Repeating Stack Trace
Thanks in advance for any help and attention!
An instance of Weblogic 8.1 SP1 on our UAT environment keeps on spitting out stack traces even though the only user accessing WL is via the admin console. There are no applications deployed on this platform.
The stack trace is also intermittent and can't be attributed to a specific action. This is occuring on our UAT environment and on a WL install which is a copy of our production environment. But we don't get these stack traces on production??
Here are some details of the server hosting WL 8.1 SP1 in our UAT environment.
Operating System/Hardware:
Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit)
Operating System SunOS abcu012-ukzr 5.8 Generic_108528-23
sun4u sparc SUNW,Sun-Fire-V210
JVM Used by WebLogic:
Weblogic JVM Java(TM) 2 Runtime Environment,
Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
I have listed the full stack trace and config.xml below...
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.0.0" Name="abc">
<Server AcceptBacklog="100"
CustomIdentityKeyStoreFileName="/apps/bea/user_projects/domains/abc/certificates/pwls.jks"
CustomIdentityKeyStorePassPhrase="XXXXX"
CustomIdentityKeyStoreType="JKS"
CustomTrustKeyStoreFileName="/apps/bea/user_projects/domains/abc/certificates/cacert.jks"
CustomTrustKeyStorePassPhrase="XXXXX"
CustomTrustKeyStoreType="JKS" GracefulShutdownTimeout="5"
IgnoreSessionsDuringShutdown="true"
KeyStores="CustomIdentityAndCustomTrust" ListenAddress=""
ListenPort="7001" Name="abcu012-ukzr" NativeIOEnabled="true"
ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.1.0"
StdoutEnabled="false" TunnelingEnabled="true" WeblogicPluginEnabled="true">
<SSL Enabled="true" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" ListenPort="7002"
Name="abcu012-ukzr" ServerPrivateKeyAlias="wls" ServerPrivateKeyPassPhrase="XXXXX"/>
<Log FileName="/apps/bea/logs/abcu012-ukzr/abc/server.log"
Name="abcu012-ukzr" RotationType="byTime"/>
<WebServer KeepAliveSecs="120"
LogFileName="/apps/bea/logs/abcu012-ukzr/abc/access.log" Name="abcu012-ukzr"/>
<ExecuteQueue Name="weblogic.kernel.Default" ThreadCount="30"/>
</Server>
<JMSFileStore Directory="rmfilestore" Name="FileStore"/>
<WSReliableDeliveryPolicy DefaultRetryCount="10"
DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
<Security Name="abc" PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true">
<weblogic.security.providers.authentication.DefaultAuthenticator
Name="Security:Name=myrealmDefaultAuthenticator" Realm="Security:Name=myrealm"/>
<weblogic.security.providers.authentication.DefaultIdentityAsserter
ActiveTypes="AuthenticatedUser"
Name="Security:Name=myrealmDefaultIdentityAsserter" Realm="Security:Name=myrealm"/>
<weblogic.security.providers.authorization.DefaultRoleMapper
Name="Security:Name=myrealmDefaultRoleMapper" Realm="Security:Name=myrealm"/>
<weblogic.security.providers.authorization.DefaultAuthorizer
Name="Security:Name=myrealmDefaultAuthorizer" Realm="Security:Name=myrealm"/>
<weblogic.security.providers.authorization.DefaultAdjudicator
Name="Security:Name=myrealmDefaultAdjudicator" Realm="Security:Name=myrealm"/>
<weblogic.security.providers.credentials.DefaultCredentialMapper
Name="Security:Name=myrealmDefaultCredentialMapper" Realm="Security:Name=myrealm"/>
<weblogic.management.security.authentication.UserLockoutManager
Name="Security:Name=myrealmUserLockoutManager" Realm="Security:Name=myrealm"/>
<weblogic.management.security.Realm
Adjudicator="Security:Name=myrealmDefaultAdjudicator"
AuthenticationProviders="Security:Name=myrealmDefaultAuthenticator|Security:Name=myrealmDefaultIdentityAsserter"
Authorizers="Security:Name=myrealmDefaultAuthorizer"
CredentialMappers="Security:Name=myrealmDefaultCredentialMapper"
DefaultRealm="true" DisplayName="myrealm"
FullyDelegateAuthorization="true"
Name="Security:Name=myrealm"
RoleMappers="Security:Name=myrealmDefaultRoleMapper"
UserLockoutManager="Security:Name=myrealmUserLockoutManager"/>
</Security>
<EmbeddedLDAP Credential="{3DES}XPMACNvHFn4=" Name="abc"/>
<SecurityConfiguration
Credential="XXXXX"
Name="abc" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JMSServer Name="WSStoreForwardInternalJMSServerabcu012-ukzr"
Store="FileStore" Targets="abcu012-ukzr">
<JMSQueue CreationTime="1073401554039"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueabcu012-ukzr"/>
<JMSQueue CreationTime="1073401554605"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueabcu012-ukzr"/>
</JMSServer>
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" MaxCapacity="25" Name="RolhPool"
Password="{3DES}bz9CieW2/7g=" Properties="user=rolhdb"
Targets="abcu012-ukzr" TestConnectionsOnCreate="false"
TestConnectionsOnRelease="false"
TestConnectionsOnReserve="false"
TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@XXXXX"/>
<JDBCTxDataSource JNDIName="jdbc/rolh/ds" Name="RolhDS"
PoolName="RolhPool" Targets="abcu012-ukzr"/>
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" MaxCapacity="25" Name="qualificationsPool"
Password="{3DES}wIVVxk0Zjk8=" Properties="user=qualdb"
Targets="abcu012-ukzr" TestConnectionsOnCreate="false"
TestConnectionsOnRelease="false"
TestConnectionsOnReserve="false"
TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@XXXXX"/>
<JDBCTxDataSource JNDIName="jdbc/qual/ds" Name="QualDS"
PoolName="qualificationsPool" Targets="abcu012-ukzr"/>
<JMSConnectionFactory JNDIName="abc.jms.connectionFactory"
MessagesMaximum="-1" Name="abcJMSConnectionFactory" Targets="abcu012-ukzr"/>
<JMSFileStore
Directory="/apps/bea/user_projects/domains/abc/abcJMSFileStore" Name="abcJMSFileStore"/>
<JMSServer Name="abcJMSServer" Targets="abcu012-ukzr">
<JMSQueue CreationTime="1073406122951"
JNDIName="abc.jms.queue.qualifications"
JNDINameReplicated="false" Name="Qualifications"/>
<JMSQueue CreationTime="1075485561981"
JNDIName="abc.jms.queue.printService"
JNDINameReplicated="false" Name="PrintQueue"/>
<JMSQueue CreationTime="1075994883296"
JNDIName="abc.jms.queue.applicationRejection"
JNDINameReplicated="false" Name="ApplicationRejection"/>
<JMSQueue CreationTime="1075994920032"
JNDIName="abc.jms.queue.correspondence"
JNDINameReplicated="false" Name="Correspondence"/>
<JMSQueue CreationTime="1075994977728"
JNDIName="abc.jms.queue.crbResponse"
JNDINameReplicated="false" Name="CRBResponse"/>
<JMSQueue CreationTime="1075995041107"
JNDIName="abc.jms.queue.licenceReturn"
JNDINameReplicated="false" Name="LicenceReturn"/>
<JMSQueue CreationTime="1075995091920"
JNDIName="abc.jms.queue.paymentApplications"
JNDINameReplicated="false" Name="PaymentApplications"/>
<JMSQueue CreationTime="1075995123366"
JNDIName="abc.jms.queue.CardSecured"
JNDINameReplicated="false" Name="CardSecured"/>
<JMSQueue CreationTime="1075995158136"
JNDIName="abc.jms.queue.CardsProduced"
JNDINameReplicated="false" Name="CardsProduced"/>
<JMSQueue CreationTime="1075995199128"
JNDIName="abc.jms.queue.CardsDestroyed"
JNDINameReplicated="false" Name="CardsDestroyed"/>
<JMSQueue CreationTime="1112361191613"
JNDIName="abc.jms.queue.basAccepted"
JNDINameReplicated="false" Name="BASAccepted"/>
<JMSQueue CreationTime="1121364464738"
JNDIName="abc.jms.queue.faultLogging" Name="FaultLogging"/>
</JMSServer>
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" MaxCapacity="25" Name="PrintPool"
Password="XXXXX" Properties="user=intdb"
Targets="abcu012-ukzr" TestConnectionsOnCreate="false"
TestConnectionsOnRelease="false"
TestConnectionsOnReserve="false"
TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@XXXXX"/>
<JDBCTxDataSource JNDIName="jdbc/print/ds" Name="PrintDS"
PoolName="PrintPool" Targets="abcu012-ukzr"/>
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="5" MaxCapacity="25" Name="intPool"
Password="XXXXX" Properties="user=intdb"
Targets="abcu012-ukzr" TestConnectionsOnCreate="false"
TestConnectionsOnRelease="false"
TestConnectionsOnReserve="false"
TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@XXXXXe"/>
<Log FileName="/apps/bea/logs/abcu012-ukzr/abc/domain.log" Name="abc"/>
<JDBCTxDataSource JNDIName="jdbc/dhc/ds" Name="dhcDS"
PoolName="intPool" Targets="abcu012-ukzr"/>
<JDBCTxDataSource JNDIName="jdbc/fault/ds" Name="FaultDS"
PoolName="intPool" Targets="abcu012-ukzr"/>
<JDBCTxDataSource JNDIName="jdbc/int/ds" Name="IntDS"
PoolName="intPool" Targets="abcu012-ukzr"/>
</Domain>
CLASSPATH=::/apps/java/j2sdk_nb/j2sdk1.4.2/jre/lib/rt.jar:/server/lib/webservices.jar:/apps/dm/dmapp/dfc/dfc/conf/config:/app
s/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-pki-api.jar:/apps/bea/user_projects/domains/XXXXX
/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-openpgp-provider.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/X
XXXX/XXXXX/cryptix-message-api.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-jce-provid
er.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-jce-api.jar:/apps/bea/user_projects/do
mains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/X
XXXX/certpath-api-compat.jar
PATH=/apps/dm/dmapp/product/5.2/bin:/apps/dm/dmapp/dba:/apps/oracle/product/9.2/bin:/export/home/kicha/XXXXXTools:/usr/bin:/u
sr/ucb:/etc:
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
LD_LIBRARY_PATH=/apps/java/j2sdk_nb/j2sdk1.4.2/lib:/apps/dm/dmapp/product/5.2/bin:/apps/dm/dmapp/fulltext/verity271/_ssol26/b
in::oracle:/usr/lib:/apps/bea/weblogic81/server/lib/solaris:/apps/bea/weblogic81/server/lib/solaris/oci920_8
* Warning: This script is DEPRECATED. Please *
* don't start new Domains with this script. Use *
* scripts generated by Domain Configuration *
* Wizard instead. *
CLASSPATH=/apps/bea/jdk141_03/lib/tools.jar:/apps/bea/weblogic81/server:/apps/bea/weblogic81/server/lib/weblogic_sp.jar:/apps
/bea/weblogic81/server/lib/weblogic.jar:::/apps/java/j2sdk_nb/j2sdk1.4.2/jre/lib/rt.jar:/server/lib/webservices.jar:/apps/dm/
dmapp/dfc/dfc/conf/config:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-pki-api.jar:/apps/b
ea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-openpgp-provider.jar:/apps/bea/user_projects/domains
/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-message-api.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/
XXXXX/XXXXX/cryptix-jce-provider.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-jce-api.
jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix.jar:/apps/bea/user_projects/domains/XXXXX
/XXXXXu014-ukcr/upload/XXXXX/XXXXX/certpath-api-compat.jar
PATH=.:/apps/bea/weblogic81/server/bin:/apps/bea/jdk141_03/jre/bin:/apps/bea/jdk141_03/bin:/apps/bea/weblogic81/server/lib/so
laris:/apps/dm/dmapp/product/5.2/bin:/apps/dm/dmapp/dba:/apps/oracle/product/9.2/bin:/export/home/kicha/XXXXXTools:/usr/bin:/
usr/ucb:/etc:
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://<hostname>:<port>/console *
+ /apps/bea/jdk141_03/bin/java -server -Xms1280m -Xmx1280m -XX:NewSize=384m -XX:MaxNewSize=384m -XX:SurvivorRatio=15
-Djava.library.path=/apps/bea/weblogic81/server/lib/solaris:/apps/dm/dmapp/dfc/dfc
-DXXXXX.war=/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/XXXXX.war -classpath
/apps/bea/jdk141_03/lib/tools.jar:/apps/bea/weblogic81/server:/apps/bea/weblogic81/server/lib/weblogic_sp.jar:/apps/bea/weblo
gic81/server/lib/weblogic.jar:::/apps/java/j2sdk_nb/j2sdk1.4.2/jre/lib/rt.jar:/server/lib/webservices.jar:/apps/dm/dmapp/dfc/
dfc/conf/config:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-pki-api.jar:/apps/bea/user_pr
ojects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-openpgp-provider.jar:/apps/bea/user_projects/domains/XXXXX/XXX
XXu014-ukcr/upload/sia/XXXXX/cryptix-message-api.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/
cryptix-jce-provider.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix-jce-api.jar:/apps/be
a/user_projects/domains/XXXXX/XXXXXu014-ukcr/upload/XXXXX/XXXXX/cryptix.jar:/apps/bea/user_projects/domains/XXXXX/XXXXXu014-u
kcr/upload/XXXXX/XXXXX/certpath-api-compat.jar -Dweblogic.Name=XXXXXu012-ukzr -Dweblogic.management.username=kicha
-Dweblogic.management.password=kicha_111 -Dweblogic.ProductionModeEnabled=
-Djava.security.policy=/apps/bea/weblogic81/server/lib/weblogic.policy weblogic.Server
<Jan 23, 2006 3:39:13 PM GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM
Version 1.4.1_03-b02 from Sun Microsystems Inc.>
<Jan 23, 2006 3:39:14 PM GMT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the
administration server.>
<Jan 23, 2006 3:39:14 PM GMT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40 PDT
2003 271009
WebLogic XMLX Module 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009>
<Jan 23, 2006 3:39:15 PM GMT> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository
at /apps/bea/user_projects/domains/XXXXX/./config.xml.>
Full thread dump Java HotSpot(TM) Server VM (1.4.1_03-b02 mixed mode):
"ExecuteThread: '6' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x3111e8 nid=0x4b in Object.wait()
[9ba81000..9ba81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e8a28> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e8a28> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '5' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xf87420 nid=0x4a in Object.wait()
[9bb81000..9bb81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e8250> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e8250> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '4' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x1141418 nid=0x49 in Object.wait()
[9bc81000..9bc81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e7a48> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e7a48> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xe5b600 nid=0x48 in Object.wait()
[9bd81000..9bd81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e7270> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e7270> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0xaa9998 nid=0x47 in Object.wait()
[9be81000..9be81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e6a98> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e6a98> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x7c65f8 nid=0x46 in Object.wait()
[9bf81000..9bf81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e62c0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e62c0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x3fccf8 nid=0x45 in Object.wait()
[9ca81000..9ca81994]
at java.lang.Object.wait(Native Method)
- waiting on <aa5e5ac8> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <aa5e5ac8> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0xf7efd8 nid=0x44 waiting for monitor entry
[9c081000..9c081994]
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93)
- waiting to lock <bede1b00> (a java.lang.String)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x12737d0 nid=0x43 waiting for monitor entry
[9c181000..9c181994]
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93)
- waiting to lock <bede1b00> (a java.lang.String)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
"ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0xb70fd0 nid=0x42 in Object.wait()
[9c281000..9c281994]
at java.lang.Object.wait(Native Method)
- waiting on <bede6ab8> (a [Lweblogic.socket.PosixSocketInfo$FdStruct;)
at java.lang.Object.wait(Object.java:426)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:95)
- locked <bede6ab8> (a [Lweblogic.socket.PosixSocketInfo$FdStruct;)
- locked <bede1b00> (a java.lang.String)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
"SSLListenThread.Default" prio=5 tid=0x7475a8 nid=0x41 runnable [9c381000..9c381994]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <bedffc38> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at javax.net.ssl.impl.SSLServerSocketImpl.accept(Unknown Source)
at weblogic.t3.srvr.ListenThread.accept(ListenThread.java:715)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:291)
"ListenThread.Default" prio=5 tid=0x588628 nid=0x40 runnable [9c481000..9c481994]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked <bedeeb68> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:24)
at weblogic.t3.srvr.ListenThread.accept(ListenThread.java:715)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:291)
"Thread-9" daemon prio=5 tid=0xac6f28 nid=0x3f in Object.wait() [9c581000..9c581994]
at java.lang.Object.wait(Native Method)
- waiting on <bec9b7d0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <bec9b7d0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5 tid=0x8967e0 nid=0x3e in Object.wait() [9c681000..9c681994]
at java.lang.Object.wait(Native Method)
- waiting on <bec26738> (a weblogic.jms.backend.BETimerTree)
at weblogic.jms.backend.BETimerTree.execute(BETimerTree.java:146)
- locked <bec26738> (a weblogic.jms.backend.BETimerTree)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
"Thread-8" prio=5 tid=0x5b0260 nid=0x3d in Object.wait() [9c781000..9c781994]
at java.lang.Object.wait(Native Method)
- waiting on <bec01568> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <bec01568> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"Thread-7" prio=5 tid=0x874ef8 nid=0x3c in Object.wait() [9c881000..9c881994]
at java.lang.Object.wait(Native Method)
- waiting on <bebe7048> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <bebe7048> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"Thread-6" prio=5 tid=0xdec010 nid=0x3b in Object.wait() [9c981000..9c981994]
at java.lang.Object.wait(Native Method)
- waiting on <bebbdb08> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <bebbdb08> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"weblogic.health.CoreHealthMonitor" daemon prio=5 tid=0x5eebd8 nid=0x39 waiting on condition [9dd81000..9dd81994]
at java.lang.Thread.sleep(Native Method)
at weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java:124)
"Thread-4" prio=5 tid=0x665808 nid=0x38 in Object.wait() [9de81000..9de81994]
at java.lang.Object.wait(Native Method)
- waiting on <be635fa0> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <be635fa0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"VDE Transaction Processor Thread" prio=2 tid=0xcc5480 nid=0x36 in Object.wait() [9df81000..9df81994]
at java.lang.Object.wait(Native Method)
- waiting on <be5537b8> (a com.octetstring.vde.backend.standard.TransactionProcessor)
at java.lang.Object.wait(Object.java:426)
at com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:355)
- locked <be5537b8> (a com.octetstring.vde.backend.standard.TransactionProcessor)
at com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:215)
"ExecuteThread: '2' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x2f6f68 nid=0x35 in Object.wait()
[9e081000..9e081994]
at java.lang.Object.wait(Native Method)
- waiting on <be4c3e50> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4c3e50> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '1' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x64eb90 nid=0x34 in Object.wait()
[9e181000..9e181994]
at java.lang.Object.wait(Native Method)
- waiting on <be4c3998> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4c3998> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '0' for queue: 'weblogic.admin.RMI'" daemon prio=5 tid=0x365e50 nid=0x33 in Object.wait()
[9e281000..9e281994]
at java.lang.Object.wait(Native Method)
- waiting on <be4c34c0> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4c34c0> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '1' for queue: 'weblogic.admin.HTTP'" daemon prio=5 tid=0xcc3d88 nid=0x32 in Object.wait()
[9e381000..9e381994]
at java.lang.Object.wait(Native Method)
- waiting on <be4c2a40> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4c2a40> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'" daemon prio=5 tid=0x9e9708 nid=0x31 in Object.wait()
[9e481000..9e481994]
at java.lang.Object.wait(Native Method)
- waiting on <be4c2560> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4c2560> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"weblogic.security.SpinnerRandomSource" daemon prio=5 tid=0xcc3fb8 nid=0x30 in Object.wait() [9e581000..9e581994]
at java.lang.Object.wait(Native Method)
- waiting on <be4b4410> (a java.lang.Object)
at java.lang.Object.wait(Object.java:426)
at weblogic.security.SpinnerRandomBitsSource.run(SpinnerRandomBitsSource.java:60)
- locked <be4b4410> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:536)
"weblogic.time.TimeEventGenerator" daemon prio=9 tid=0x9d9550 nid=0x2f in Object.wait() [9e681000..9e681994]
at java.lang.Object.wait(Native Method)
- waiting on <be4b31a8> (a weblogic.time.common.internal.TimeTable)
at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:271)
- locked <be4b31a8> (a weblogic.time.common.internal.TimeTable)
at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:118)
at java.lang.Thread.run(Thread.java:536)
"ExecuteThread: '4' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x2d94e0 nid=0x2e in Object.wait()
[9e781000..9e781994]
at java.lang.Object.wait(Native Method)
- waiting on <be4b2930> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4b2930> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '3' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x2d8960 nid=0x2d in Object.wait()
[9e881000..9e881994]
at java.lang.Object.wait(Native Method)
- waiting on <be4b2470> (a weblogic.kernel.ExecuteThread)
at java.lang.Object.wait(Object.java:426)
at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:145)
- locked <be4b2470> (a weblogic.kernel.ExecuteThread)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:164)
"ExecuteThread: '2' for queue: 'weblogic.kernel.System'" daemon prio=5 tid=0x52bd58 nid=0x2c in Object.wait()
[9e981000..9e981994]
at java.lang.Object.wait(Native Method)
What about Red Hat 7.2 ?
I do not understand very well if this version has anything to do with the
ones mentioned on supported platforms
thanks
"Raj Alagumalai" <[email protected]> escribió en el mensaje
news:[email protected]..
Campot,
Unfortunately WLS 8.1 sp1 is not supported on RedHat 7.1
http://e-docs.bea.com/wls/certifications/certs_810/overview.html#1043408
should provide you more information on this.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Campot" <[email protected]> wrote in message
news:[email protected]..
Can I install WebLogic Server 8.1 SP1 on Linux Redhat 7.1?
I looked the documentation and it is not clear if the server runs on
this
Linux version
Thanks -
Turning off server side stack trace in error message for weblogic81
Hi,
I am seeing server side stack trace in getMessage() method which is being stuffed
by application server. I am using weblogic 81. Could you please let me know how
to turn off that in getMessage() to return my only original message?
Thanks
PraveenDid you solve this problem? I am facing this problem and don't seem to solve with
"Instrument Stack Traces" flag
"Franck" <[email protected]> wrote:
>
Hi there,
In order to manage my own exceptions in some EJB, i have developped some
classes
extending Exception.
Now i would like to display proper messages to the final user, based
on the messages
defined in my exception classes.
Using standard try/catch, i can easily get reference to the exception
that can
occur during EJB execution.
The problem is that my message (myException.getMessage) is followed by
the extra
long message generated by the Server and starting with "Start server
side stack
trace:".
For exemple :
com.xx.ejb.DamageHistoryException: Can't find the price for this object
(objId=7569,
sizeCode=LI, colorCode=2)
Start server side stack trace:
com.xx.ejb.DamageHistoryException: Can't find the price for this object
(objId=7569,
sizeCode=LI, colorCode=2)
at com.xx.ObjectAccess.getObjectPrice(Unknown Source)
at com.xx.ejb.ObjectBusinessService.getObjectPrice(Unknown Source)
<....>
about 20 lines here !!
<....>
Any idea about how to avoid the extra message ??
Thanx in advance
Franck -
Unwanted stack trace in weblogic.log for thrown JSP Exceptions
We are throwing a JSP exception within a custom tag when data validation
errors occur; the errorPage for the JSP page is then invoked to show the
appropriate errors. However, in the weblogic.log, a stack trace is shown
indicating the exception (example below). We do not want this stack track
shown unless there is a real "error" in our system vs. invoking the
errorPage to show "application" errors. Is there any way to supress this,
as we are not explicitly causing this to happen. It appears to be a
weblogic feature. This causes us problems in finding true system errors
that might be occurring due to these non-problems showing up in the
weblogic.log.
Thanks for the help.
John Bauer
Wed Dec 20 15:34:49 EST 2000:<E> <ServletContext-General> exception raised
on '/test/test.jsp'
javax.servlet.ServletException: runtime failure in custom tag 'testtag'
at jsp_servlet._test._test._jspService(_test.java:89)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:124)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:
60)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:
07)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager
java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:369)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
The design of the data entry pages is such that the error page is the same
page as the data entry page, and a validation JSP tag validates the data and
if it finds a problem, it will set some variables and throw a JSP exception
to redisplay the page. Unfortunately, we are forced to live with this
design. Are you aware of any mechanism to suppress the automatic logging of
thrown JSP exceptions in the weblogic log?
Thanks,
JDB
Cameron Purdy <[email protected]> wrote in message
news:[email protected]...
> Exception handling for custom tags is very poorly handled right now. For
> one thing, WL hides the actual exception.
>
> However, the way that you are doing this seems very odd. The error page
is
> for server errors, not user typos.
>
> Peace,
>
> --
> Cameron Purdy
> Tangosol, Inc.
> http://www.tangosol.com
> +1.617.623.5782
> WebLogic Consulting Available
>
>
> "John Bauer" <[email protected]> wrote in message
> news:[email protected]...
> > We are throwing a JSP exception within a custom tag when data validation
> > errors occur; the errorPage for the JSP page is then invoked to show the
> > appropriate errors. However, in the weblogic.log, a stack trace is
shown
> > indicating the exception (example below). We do not want this stack
track
> > shown unless there is a real "error" in our system vs. invoking the
> > errorPage to show "application" errors. Is there any way to supress
this,
> > as we are not explicitly causing this to happen. It appears to be a
> > weblogic feature. This causes us problems in finding true system errors
> > that might be occurring due to these non-problems showing up in the
> > weblogic.log.
> >
> > Thanks for the help.
> > John Bauer
> >
> > Wed Dec 20 15:34:49 EST 2000:<E> <ServletContext-General> exception
raised
> > on '/test/test.jsp'
> > javax.servlet.ServletException: runtime failure in custom tag 'testtag'
> > at jsp_servlet._test._test._jspService(_test.java:89)
> > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> > at
> >
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> > :124)
> > at
> >
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> > l.java:
> > 60)
> > at
> >
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> > l.java:
> > 07)
> > at
> >
>
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
> > Manager
> > java:251)
> > at
> >
>
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:369)
> > at
> > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:269)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled
> > Code)
> >
> >
>
>
-
Crystal Reports "Unknown Source" Stack Trace after report generation
Getting java.lang.NullPointerException with Crystal ReportViewer.W(UnKnown Source) stack trace...
java.lang.NullPointerException
at com.crystaldecisions.report.web.viewer.CrystalReportViewer.goto(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at jsp_servlet._crystalviewer.__viewer._jspService(__viewer.java:105)
We are running in to this issue only after the report is generated and during performing a search or navigating to different page...
Any help to resolve this will be greately appriciated....
Thanks
NDThe ODBC datasource must be configured as a System datasource. The database was configured as a User datasource so it was only visible on the local computer. That's why Business Views Manager could access the database.
-
Env: NetWeaver 6.40 SP15
We are getting a class not found exception when we access our J2EE application under AIX. The user sees an SAP supplied error 500 page displaying:
Application error occurred during request processing.
Details: java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException
Exception id: [8A2810007002003F0000001000059048000409F3BCDA6B09]
There is no stack trace nor can I find one in the trace file via the logviewer. How do I view the stack trace? Why isn't the stack trace in the trace file?Hi Craig,
there is a property of the HTTP service in SAP Web AS that controls whether the stack trace is displayed in the prowser or not. That's the DetailedErrorResponse property of the HTTP Provider Service on the server. Use the Visual Administrator to set that property to true. (see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a1/50b2424997c911e10000000a1550b0/frameset.htm">this</a> page from the docs as a reference.)
About your general question why this is the default - well, SAP systems are not always dev systems. In cases of productive systems, it's not quite secure to get detailed error messages (say, ones that displayed the full path to the JSP that can't be found, or one that displays the classloaders structure and references, etc.) in the browser. That's why SAP has chosen the secure behavior as default, and gives the option to enable detailed errors in the browser for development systems.
Hope that explains things a bit. -
I am looking for a way to capture stack traces / core dumps
-- anything useful about an error on an end-user's system related
to my application in the event of a crash. The ability to specify
where the output goes would be fantastic. If none of this currently
exists, is it planned?
If not, is the debug communication between the running Flex
Application and the debugger documented so that I could capture the
data myself.I tried login on different machines but i only can see the Groups from the user who`s im using credencials on AD Provider
So there isnt cache problem.
There`s something wrong here?
Attribute Map: Description:dFullName
Mail:dEmail
Role Prefix: OU=Roles
Default Network Roles:guest
Filter Groups: No [I DONT REALLY NO HOW THIS WORKS]
Use Full Group Name: No
LDAP Admin DN: [MYDOMAINVALUE]\daniel
On my AD i have this strutucture:
OU=UCM
Inside UCM i have 2 groups:
ucm_engmetalurgica
ucm_engfabrica
Inside this groups i added my user and others.
Please take a look at this screenshot from my AD:
https://cid-6f321c7635bec236.skydrive.live.com/self.aspx/Imagens/ADExample.jpg
Im getting crazy!
Please help. -
WLST, how do I suppress unwanted stack traces and make WLST less verbose?
Hi everyone,
I've just started out with WLST but have ended up somewhat confused. My script works as intended but is very verbose.
Suppose I want to log in:
try:
connect(user, "wrong_password", url)
except WLSTException, err:
print str(err)
print "Run with option \"-h\" for help"The password is wrong so I get something like this printed out by me:
{noformat}
Error occured while performing connect : User: wm714, failed to be authenticated. Use dumpStack() to view the full stacktrace
{noformat}
But I also get a totally unwanted Java stack trace (before my message):
{noformat}This Exception occurred at Fri May 21 15:49:01 CEST 2010.
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: wm714, failed to be authenticated.]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:677)
{noformat}
I don't want to confuse the user with all that! I found this:
http://objectmix.com/weblogic/529822-wlst-exception-handling-unwanted-stack-trace.html
Which discusses WLS.commandExceptionHandler.setSilent(1) I'm running on WLS 10.3.0.0 and can execute that statement but it has no effect. I didn't even know about the WLS-object and I can find no documentation on commandExceptionHandler.
On the matter of verbosity, is there any way to get rid of stuff like:
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)I avoid using the "interactive" commands like cd and use stuff like getMBean("domainRuntime:/ServerRuntimes/" + appServer.getName()
+ "/JMSRuntime/" + appServer.getName() + ".jms/JMSServers") but I still get the clutter printed out.
Thanks!Workaround:
wlstOut = tempfile.mktemp(suffix="_wlst.txt")
redirect(wlstOut, "false")
... do useful stuff
stopRedirect()
os.remove(wlstOut)I would have preffered to turn off the messages (yes I could try /dev/null) but this will do. A funny thing is that the stack trace I wrote about doesn't appear in the log file. Somehow "redirect" must have a nice side effect.
/Roger -
Exception stack trace while opening the file in JDevloper
Hi,
When I want to open .jsp file from Application Navigator to Editor then this error appeared
Exception stack trace:
java.lang.NullPointerException
at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:108)
at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:78)
at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:47)
at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:162)
at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
What is the problem in my JDevloper 10.1.3.2?
Regards,
Rajendar.
Edited by: Rajendar Are on Nov 28, 2008 1:28 AMI don't have that version.Please tell me why this problem is occurring?
For rectifying this error I stopped all processes in JDeveloper and restarted.Still it gives me error alert.
Regards,
Rajendar. -
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 -
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.
-
Exception Handling and Stack Traces in JDK 1.1.8
Hi,
I'm presently maintain and upgrading a Web-Objects 4.5 application that uses the JDK 1.18. There are two constantly recurring exceptions that keep getting thrown, exceptions for which there are no stack traces. These are exceptions thrown by methods that do not presently have throws or try/catch code associated with them.
My questions are:
1) Why are there no stack traces available? Is it because the exception handling code is not there, or could there be another reason?
2) Will the inclusion of exception-handling code ALWAYS lead to stack traces and messages becoming available (if I put a e.printStackTrace() in my catch(Excetion e) clause), or will there be situations where it will not be available?
3) What is the best way for me to handle these types of exceptions in order to gain the most information possible about their root causes and possible solutions?
Thanks for your help.I have never seen a case where there was no stack trace.
I have seen cases where the stack trace does not provide line numbers. I have also seen cases where it is less than useful as it terminates on a native call (which is to be expected.)
However, if you don't call printStackTrace() then you don't get it. And if you catch an exception an throw a different one you also loose information. So you might want to check those possibilities. -
Not able to see stack trace in JBoss IDE for eclipse2.0
hello im using JBoss IDE for eclipse2.0 version for developing application. but the problem is im not able to see the errors/ error stack trace coming on console.i configured console but im not abloe to see any error. actualy earlier i was using eclipse3.0 but there i could not use the jsp file.i was not able to create a jsp page in my aleady developed application and also syntax is not highlighting in java file. so i switched to JBoss IDE for eclipse2.0 its using jdk1.3 version.
can anyone help me..n can also tel me which version of eclipse i should use. and how to configure eclipse so that i can see the properly highlighted syntax of java code.I would advise against reverting to very old versions just because you can't get the new versions to work. Try to read the installation instructions and manuals of the new versions and try to get those to work.
-
How to identify exception stack traces in log files programmatically
Hello,
I would like to develop a utility program which audits the command line or log files and detects exceptions.
Do you know any good way of identifying exception stack traces from a stream?
Are you aware of any existing tool that does something similar?
Thank you in advance,
KostasI tried to copy/paste the entrire log file in the console but it seems that the copy/paste functionality in not included in the console pane.
Regardless that problem is there any way to do that programmatically from my application?
Maybe you are looking for
-
LIghtroom and Bridge Keywords don't match
I use PhotoMechanic (with the stationary pad setup) to ingest NEF images, then convert them DNG with DNG Converter. I add keywords using PhotoMechanic, Bridge and Expression media and Edit using PS to create web versions. I'm trying to use LR 1.3 and
-
Hi, In Oracle EBS 11i ->HRMS module , when opening any form showing error message like FRM -40735 and ora 6508. And the error is only in this module. In other modules the forms are working. it has no error. What is the reason for this? Can any soluti
-
I downloaded firefox to my pc to sync to my iPad. However, when it downloaded to my iPad, it removed all my desktop icons and is not working with my homeschooling program. I need to uninstall it from my iPad. Please let me know how to do this. Thank
-
Hi is there a way to get acrobat to retrieve data from the first form input field and then use it in the file naming convention when using the "file save as" command. is there a javascript or something to do this? In other words, I have a savable for
-
Master role & Derived role concept
Hi Friends , We have master and drive role concept in our project . ABC_XXXX (Master role ) ABC_1000(Derived role) (1000= company code) Now we need to maintain some values in master roles lets say display :03 . Should we regenrate deived role as w