Delegates in Java
Is there anyway to trigger non-GUI events in Java, by declaring delegates? Ex. If I have a jar class in which pennies are being added, I want to be able to declare a delegate for the jar. I want to be able to create a listener for an event when a penny is added to the jar.
Sure, those things are found in the java.beans package. The classes that want to find out about changes to the jar should provide an implementation of PropertyChangeListener. And your jar class should send PropertyChangeEvents when a penny is added to the jar. The easiest way for it to send the events is to contain a PropertyChangeSupport object that takes care of that.
Similar Messages
-
Use of Business delegates in Java?
Hi,
Could anyone please tell me the advantages/uses of using Business Delegates in Java?
Regards
RamCould anyone please tell me the advantages/uses of
using Business Delegates in Java?Where's the emphasis? On "Java" or on "Business Delegates"?
http://java.sun.com/blueprints/patterns/BusinessDelegate.html -
JVM 1.4 seg faults with pure java code?
Has anybody else seen JVM 1.4 seg fault when running pure java code? This seems like it shouldn't be possible, but I get the following at indeterminate times. Unfortunately, it is difficult to isolate since decreasing the size of the program avoids the problem. When the seg fault happens, the size in memory is ~1GB and there is plenty of real and virtual memory to spare.
Unexpected Signal : 11 occurred at PC=0xDE88BC8E
Function=[Unknown. Nearest: +0x100E]
Library=/usr/j2se/jre/lib/i386/server/libjvm.so
Dynamic libraries:
0x8050000 java
0xdfb60000 /usr/lib/libthread.so.1
0xdfba0000 /usr/lib/libdl.so.1
0xdfab0000 /usr/lib/libc.so.1
0xde800000 /usr/j2se/jre/lib/i386/server/libjvm.so
0xdfa40000 /usr/lib/libCrun.so.1
0xdfa20000 /usr/lib/libsocket.so.1
0xdf980000 /usr/lib/libnsl.so.1
0xdf960000 /usr/lib/libm.so.1
0xdfa70000 /usr/lib/libw.so.1
0xdf920000 /usr/lib/libmp.so.2
0xdf8f0000 /usr/j2se/jre/lib/i386/native_threads/libhpi
.so
0xdf8c0000 /usr/j2se/jre/lib/i386/libverify.so
0xdf880000 /usr/j2se/jre/lib/i386/libjava.so
0xdf860000 /usr/j2se/jre/lib/i386/libzip.so
0xda890000 /usr/lib/nss_files.so.1
Local Time = Tue May 14 16:03:38 2002
Elapsed Time = 72
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002D3
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Server VM (1.4.0-rc-b91 mixed
mode)
# An error report file has been saved as hs_err_pid945.log.
# Please refer to the file for further information.Hi sevenM,
Did you figure out a workaround for this problem?. Did you get it solved with the SUN people?. Is it a known bug?.
I've got exactly the same problem on the same function and VM library.
Any info on this is very much welcome.
Thx
Krithiga
I get the same error sometimes with tomcat-4.0.4 on a
Slackware 8.0.0 and JDK 1.4.0. I don't user any JSPs,
only servlets and the business calls a remote SLSB on
a remote JBOSS server and afterwards select some data
form a remote DB2 7.1 over JDBC.
Here is the log:
Unexpected Signal : 11 occurred at PC=0x40267D98
Function=copy_to_survivor_space__16DefNewGenerationP7oo
DescPP7oopDesc+0x28
Library=/usr/local/j2sdk1.4.0/jre/lib/i386/client/libjv
.so
Current Java thread:
at
at java.net.PlainSocketImpl.socketAccept(Native
tive Method)
at
at
at
t
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:34
- locked <0x44ed3400> (a
400> (a java.net.PlainSocketImpl)
at
at
at
t
java.net.ServerSocket.implAccept(ServerSocket.java:438)
at
at
at
t java.net.ServerSocket.accept(ServerSocket.java:409)
at
at
at
t
org.apache.catalina.core.StandardServer.await(StandardS
rver.java:293)
at
at
at
t
org.apache.catalina.startup.Catalina.start(Catalina.jav
:794)
at
at
at
t
org.apache.catalina.startup.Catalina.execute(Catalina.j
va:681)
at
at
at
t
org.apache.catalina.startup.Catalina.process(Catalina.j
va:179)
at
at
at
t sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
at
at
t
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMetho
AccessorImpl.java:39)
at
at
at
t
sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat
ngMethodAccessorImpl.java:25)
at
at
at java.lang.reflect.Method.invoke(Method.java:324)
at
at
at
t
org.apache.catalina.startup.Bootstrap.main(Bootstrap.ja
a:243)
Dynamic libraries:
08048000-0804d000 r-xp 00000000 03:03 757599
/usr/local/j2sdk1.4.0/bin/java
0804d000-0804e000 rw-p 00004000 03:03 757599
/usr/local/j2sdk1.4.0/bin/java
40000000-40015000 r-xp 00000000 03:03 885142
/lib/ld-2.2.3.so
40015000-40016000 rw-p 00014000 03:03 885142
/lib/ld-2.2.3.so
40017000-40020000 r-xp 00000000 03:03 69536
/usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libh
i.so
40020000-40021000 rw-p 00008000 03:03 69536
/usr/local/j2sdk1.4.0/jre/lib/i386/native_threads/libh
i.so
40021000-40022000 r--p 00000000 03:03 33106
/usr/lib/locale/en_US/LC_IDENTIFICATION
40022000-40030000 r-xp 00000000 03:03 885133
/lib/libpthread-0.9.so
40030000-40038000 rw-p 0000d000 03:03 885133
/lib/libpthread-0.9.so
40038000-4003b000 r-xp 00000000 03:03 885149
/lib/libdl-2.2.3.so
4003b000-4003c000 rw-p 00002000 03:03 885149
/lib/libdl-2.2.3.so
4003c000-40143000 r-xp 00000000 03:03 885147
/lib/libc-2.2.3.so
40143000-40149000 rw-p 00106000 03:03 885147
/lib/libc-2.2.3.so
4014d000-40410000 r-xp 00000000 03:03 1150891
/usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40410000-40558000 rw-p 002c2000 03:03 1150891
/usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
4056c000-4057d000 r-xp 00000000 03:03 885152
/lib/libnsl-2.2.3.so
4057d000-4057f000 rw-p 00010000 03:03 885152
/lib/libnsl-2.2.3.so
40581000-405b5000 r-xp 00000000 03:03 950285
/usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.
.0.so
405b5000-405c1000 rw-p 00033000 03:03 950285
/usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.
.0.so
405c3000-405e4000 r-xp 00000000 03:03 885138
/lib/libm-2.2.3.so
405e4000-405e5000 rw-p 00020000 03:03 885138
/lib/libm-2.2.3.so
405e5000-405f6000 r-xp 00000000 03:03 69542
/usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so
405f6000-405f8000 rw-p 00010000 03:03 69542
/usr/local/j2sdk1.4.0/jre/lib/i386/libverify.so
405f8000-40619000 r-xp 00000000 03:03 69543
/usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so
40619000-4061b000 rw-p 00020000 03:03 69543
/usr/local/j2sdk1.4.0/jre/lib/i386/libjava.so
4061c000-40630000 r-xp 00000000 03:03 69545
/usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so
40630000-40633000 rw-p 00013000 03:03 69545
/usr/local/j2sdk1.4.0/jre/lib/i386/libzip.so
40633000-4063a000 r--s 00000000 03:03 890455
/usr/local/jakarta-tomcat-4.0.4/bin/bootstrap.jar
4063a000-40641000 r--s 00000000 03:03 890436
/usr/local/jakarta-tomcat-4.0.4/common/lib/naming-comm
n.jar
40641000-40655000 r--s 00000000 03:03 890437
/usr/local/jakarta-tomcat-4.0.4/common/lib/servlet.jar
40655000-4065e000 r--s 00000000 03:03 890438
/usr/local/jakarta-tomcat-4.0.4/common/lib/naming-reso
rces.jar
4065e000-40660000 r--s 00000000 03:03 890439
/usr/local/jakarta-tomcat-4.0.4/common/lib/jdbc2_0-std
xt.jar
40660000-4066c000 r--s 00000000 03:03 890440
/usr/local/jakarta-tomcat-4.0.4/common/lib/activation.
ar
4066c000-4066f000 r--s 00000000 03:03 890441
/usr/local/jakarta-tomcat-4.0.4/common/lib/jta-spec1_0
1.jar
4066f000-4082a000 r--s 00000000 03:03 890443
/usr/local/jakarta-tomcat-4.0.4/common/lib/xerces.jar
4082a000-40874000 r--s 00000000 03:03 890444
/usr/local/jakarta-tomcat-4.0.4/common/lib/tyrex-0.9.7
0.jar
40874000-408b9000 r--s 00000000 03:03 890445
/usr/local/jakarta-tomcat-4.0.4/common/lib/mail.jar
408b9000-408d2000 r--s 00000000 03:03 890446
/usr/local/jakarta-tomcat-4.0.4/common/lib/jndi.jar
408d2000-40958000 r--s 00000000 03:03 890482
/usr/local/jakarta-tomcat-4.0.4/common/lib/db2java.jar
40958000-4096e000 r--s 00000000 03:03 890483
/usr/local/jakarta-tomcat-4.0.4/common/lib/jboss-clien
.jar
4096e000-4097c000 r--s 00000000 03:03 890484
/usr/local/jakarta-tomcat-4.0.4/common/lib/jboss-j2ee.
ar
4097c000-40996000 r--s 00000000 03:03 890485
/usr/local/jakarta-tomcat-4.0.4/common/lib/jaas.jar
40996000-409a0000 r--s 00000000 03:03 890486
/usr/local/jakarta-tomcat-4.0.4/common/lib/jbosssx-cli
nt.jar
409a0000-409a6000 r--s 00000000 03:03 890487
/usr/local/jakarta-tomcat-4.0.4/common/lib/jnp-client.
ar
409a6000-40d10000 r--s 00000000 03:03 890488
/usr/local/jakarta-tomcat-4.0.4/common/lib/jt400_3.0.j
r
40d10000-40d37000 r--s 00000000 03:03 890489
/usr/local/jakarta-tomcat-4.0.4/common/lib/log4j.jar
40d37000-423af000 r--s 00000000 03:03 69634
/usr/local/j2sdk1.4.0/jre/lib/rt.jar
423f1000-42408000 r--s 00000000 03:03 69566
/usr/local/j2sdk1.4.0/jre/lib/sunrsasign.jar
42408000-42476000 r--s 00000000 03:03 69568
/usr/local/j2sdk1.4.0/jre/lib/jsse.jar
42476000-42489000 r--s 00000000 03:03 69567
/usr/local/j2sdk1.4.0/jre/lib/jce.jar
42489000-4270a000 r--s 00000000 03:03 69632
/usr/local/j2sdk1.4.0/jre/lib/charsets.jar
447b2000-447b3000 r--p 00000000 03:03 33104
/usr/lib/locale/en_US/LC_MEASUREMENT
447b3000-447b4000 r--p 00000000 03:03 33102
/usr/lib/locale/en_US/LC_TELEPHONE
447b4000-447b5000 r--p 00000000 03:03 33103
/usr/lib/locale/en_US/LC_ADDRESS
447b5000-447b6000 r--p 00000000 03:03 33100
/usr/lib/locale/en_US/LC_NAME
447b6000-447b7000 r--p 00000000 03:03 33109
/usr/lib/locale/en_US/LC_PAPER
447b7000-447b8000 r--p 00000000 03:03 459106
/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
447b8000-447b9000 r--p 00000000 03:03 33110
/usr/lib/locale/en_US/LC_MONETARY
447b9000-447bf000 r--p 00000000 03:03 33107
/usr/lib/locale/en_US/LC_COLLATE
447bf000-447c0000 r--p 00000000 03:03 33101
/usr/lib/locale/en_US/LC_TIME
4c840000-4c841000 r--p 00000000 03:03 33105
/usr/lib/locale/en_US/LC_NUMERIC
4c841000-4c85c000 r--p 00000000 03:03 33108
/usr/lib/locale/en_US/LC_CTYPE
4c85c000-4c85e000 r--s 00000000 03:03 36766
/usr/local/j2sdk1.4.0/jre/lib/ext/dnsns.jar
4c85e000-4c866000 r--s 00000000 03:03 890421
/usr/local/jakarta-tomcat-4.0.4/server/lib/jakarta-reg
xp-1.2.jar
4c866000-4c867000 r--s 00000000 03:03 890422
/usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-co
mon.jar
4c867000-4c871000 r-xp 00000000 03:03 885148
/lib/libnss_compat-2.2.3.so
4c871000-4c873000 rw-p 00009000 03:03 885148
/lib/libnss_compat-2.2.3.so
4c89e000-4c8bb000 r--s 00000000 03:03 36765
/usr/local/j2sdk1.4.0/jre/lib/ext/sunjce_provider.jar
4c8bb000-4c95e000 r--s 00000000 03:03 36767
/usr/local/j2sdk1.4.0/jre/lib/ext/localedata.jar
4c95e000-4c96c000 r--s 00000000 03:03 36768
/usr/local/j2sdk1.4.0/jre/lib/ext/ldapsec.jar
4c96c000-4ce06000 r--s 00000000 03:03 298906
/usr/local/j2sdk1.4.0/lib/tools.jar
4ce06000-4ce0c000 r--s 00000000 03:03 890423
/usr/local/jakarta-tomcat-4.0.4/server/lib/commons-log
ing.jar
4ce0c000-4ce0e000 r--s 00000000 03:03 890424
/usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-in
oker.jar
4ce0e000-4ce11000 r--s 00000000 03:03 890425
/usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-ma
ager.jar
4ce11000-4ce19000 r--s 00000000 03:03 890426
/usr/local/jakarta-tomcat-4.0.4/server/lib/warp.jar
4ce19000-4ceab000 r--s 00000000 03:03 890427
/usr/local/jakarta-tomcat-4.0.4/server/lib/catalina.ja
4ceab000-4ceb4000 r--s 00000000 03:03 890428
/usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-http
1.jar
4ceb4000-4ceb9000 r--s 00000000 03:03 890429
/usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-de
ault.jar
4ceb9000-4cec9000 r--s 00000000 03:03 890430
/usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-ajp.
ar
4cec9000-4ceed000 r--s 00000000 03:03 890431
/usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-util
jar
4ceed000-4cefb000 r--s 00000000 03:03 890432
/usr/local/jakarta-tomcat-4.0.4/server/lib/tomcat-coyo
e.jar
4cefb000-4cf01000 r--s 00000000 03:03 890434
/usr/local/jakarta-tomcat-4.0.4/server/lib/servlets-we
dav.jar
4cf01000-4cf13000 r-xp 00000000 03:03 69548
/usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so
4cf13000-4cf14000 rw-p 00011000 03:03 69548
/usr/local/j2sdk1.4.0/jre/lib/i386/libnet.so
4cf14000-4cf25000 r--s 00000000 03:03 890458
/usr/local/jakarta-tomcat-4.0.4/lib/jasper-runtime.jar
4cf25000-4cf59000 r--s 00000000 03:03 890459
/usr/local/jakarta-tomcat-4.0.4/lib/jasper-compiler.ja
4cf59000-4cf5e000 r--s 00000000 03:03 890460
/usr/local/jakarta-tomcat-4.0.4/lib/naming-factory.jar
4cf5e000-4cf5f000 r--s 00000000 03:03 789670
/usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46958.tm
(deleted)
4cf5f000-4cf60000 r--s 00000000 03:03 789673
/usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46959.tm
(deleted)
4cf60000-4cf63000 r--s 00000000 03:03 430785
/usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
F/lib/arenajobs.jar
4cf63000-4d067000 r--s 00000000 03:03 430786
/usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
F/lib/arenatrading.jar
4d067000-4d08c000 r--s 00000000 03:03 430787
/usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
F/lib/quartz.jar
4d08c000-4d08e000 r--s 00000000 03:03 430788
/usr/local/jakarta-tomcat-4.0.4/webapps/reporter/WEB-I
F/lib/scheduler.jar
4d08e000-4d091000 r--s 00000000 03:03 790391
/usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46960.tm
(deleted)
4d091000-4d195000 r--s 00000000 03:03 790392
/usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46961.tm
(deleted)
4d195000-4d1ba000 r--s 00000000 03:03 790394
/usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46962.tm
(deleted)
4d1ba000-4d1bc000 r--s 00000000 03:03 790395
/usr/local/jakarta-tomcat-4.0.4/temp/jar_cache46963.tm
(deleted)
4d1bc000-4d1bd000 r-xp 00000000 03:03 69559
/usr/local/j2sdk1.4.0/jre/lib/i386/librmi.so
4d1bd000-4d1be000 rw-p 00000000 03:03 69559
/usr/local/j2sdk1.4.0/jre/lib/i386/librmi.so
4d1be000-4d1c2000 r-xp 00000000 03:03 69558
/usr/local/j2sdk1.4.0/jre/lib/i386/libioser12.so
4d1c2000-4d1c3000 rw-p 00003000 03:03 69558
/usr/local/j2sdk1.4.0/jre/lib/i386/libioser12.so
4d1c9000-4d1d2000 r-xp 00000000 03:03 885155
/lib/libnss_files-2.2.3.so
4d1d2000-4d1d3000 rw-p 00008000 03:03 885155
/lib/libnss_files-2.2.3.so
Local Time = Tue Oct 8 18:57:29 2002
Elapsed Time = 32640
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002D3
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed
mode)
# An error report file has been saved as
hs_err_pid26505.log.
# Please refer to the file for further information. -
Timeout of session / entity bean
Hi all
We are facing "RollbackException: The transaction has been marked for rollback (timed out)" excpetion. please help us in resolving this.
Here is problem description.
Code Description:
Step1: Action class calls Session bean
Step2:Session Bean does three things
A. Reads various value from database and write it to fileOutputStream
B. Generate a Sequence number using Sequence
C. Call create method of Entity Bean by local reference to insert the created file (in step 2A) in database as blob
As per our observation session bean takes around 20-30 sec in processing 2A and 2B.
But at 2-C, code raises following error
TariffDocumentBlob is the Entity Bean
TariffSessionEJB is the Session Bean
javax.ejb.CreateException: Error creating EntityBean: RollbackException: The transaction has been marked for rollback (timed out)
05/10/24 16:04:01 at TariffDocumentBlobLocalHome_EntityHomeWrapper397.create(TariffDocumentBlobLocalHome_EntityHomeWrapper397.java:1135)
05/10/24 16:04:01 at com.derc.rims.businessservice.businessinterface.TariffSessionEJBBean.createTariffBlobMasterRecord(TariffSessionEJBBean.java:102)
05/10/24 16:04:01 at com.derc.rims.businessservice.businessinterface.TariffSessionEJBBean.uploadTariff(TariffSessionEJBBean.java:76)
05/10/24 16:04:01 at TariffSessionEJBLocal_StatelessSessionBeanWrapper96.uploadTariff(TariffSessionEJBLocal_StatelessSessionBeanWrapper96.java:80)
05/10/24 16:04:01 at com.derc.rims.businessservice.businessinterface.BISessionFacadeEJBBean.delegate(BISessionFacadeEJBBean.java:534)
05/10/24 16:04:01 at BISessionFacadeEJB_StatelessSessionBeanWrapper4.delegate(BISessionFacadeEJB_StatelessSessionBeanWrapper4.java:101)
05/10/24 16:04:01 at com.derc.rims.action.tariff.CalculateTariffAction.execute(CalculateTariffAction.java:75)
05/10/24 16:04:01 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
05/10/24 16:04:01 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
05/10/24 16:04:01 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)05/10/24 16:04:01 at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)05/10/24 16:04:01 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)05/10/24 16:04:01 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)05/10/24 16:04:01
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)05/10/24 16:04:01 at
oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)05/10/24 16:04:01 at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)05/10/24 16:04:01 at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)05/10/24 16:04:01 TRANSACTION OVER05/10/24
16:04:01 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
05/10/24 16:04:01 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
05/10/24 16:04:01 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
05/10/24 16:04:01 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
05/10/24 16:04:01 at java.lang.Thread.run(Thread.java:534)
com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: timed out at
BISessionFacadeEJB_StatelessSessionBeanWrapper4.delegate(BISessionFacadeEJB_StatelessSessionBeanWrapper4.java:159)
at com.derc.rims.action.tariff.CalculateTariffAction.execute(CalculateTariffAction.java:75)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Nested exception is:java.rmi.RemoteException: No Exception - originate from:java.lang.Exception: No Exception - originate from:; nested exception is:
java.lang.Exception: No Exception - originate from: at com.evermind.server.ejb.EJBUtils.makeException(EJBUtils.java:931)
at BISessionFacadeEJB_StatelessSessionBeanWrapper4.delegate(BISessionFacadeEJB_StatelessSessionBeanWrapper4.java:159)
at com.derc.rims.action.tariff.CalculateTariffAction.execute(CalculateTariffAction.java:75)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.Exception: No Exception - originate from: at com.evermind.server.ejb.EJBUtils.makeException(EJBUtils.java:930)
... 17 more
We have tried out .....
- Making new Enity Bean
- changing timeout of session bean by changing it in properties
<session-deployment name="TariffSessionEJB" timeout="300" >
We are using Oracle 10g application Sever and Oracle 10.1 database.Assuming you are using either 9.0.4 or 10.1.2, please note that default transaction time out is 30s and you can change that <transaction-config> element in server.xml. This is specified in millliseconds
-Debu -
OBI 11g (11.1.1.6.0) coreapplication doesn't start
Hi,
I'm new with the weblogic/Fusion architecture and therefore somewhat clueless.
- fresh install of OBI 11.1.1.6.0 (simple installation) on windows 7
- during installation the 5 coreapplication processes won't start
- opmnctl startall on command line fails as well
- later I explored the Fusion Middleware Control and found the log entries below
- hints from this forum: no RPD upgrade involved; loopback adapter available
any help appreciated
Thomas
Message ID J2EE JMX-46335
Message Level 1
Relationship ID 0
Component AdminServer
Host Mahler
Host IP Address 192.168.111.111
User <anonymous>
Thread ID DmsThread-1
ECID 41dd2e3610ba3724:-75f5518:136b7d0d409:-8000-0000000000000003
Message MBean-Attributzugriff verweigert. (attribute access denied)
Supplemental Detail MBean: oracle.biee.admin:type=BIDomain.BIInstanceStatusMetric,biInstance=coreapplication,group=Service
Getter für Attribut ReadOnly
Details: Zugriff verweigert. Erforderliche Rollen: Admin, Operator, Monitor, ausführendes Subject: principals=[] java.lang.SecurityException: Zugriff verweigert. Erforderliche Rollen: Admin, Operator, Monitor, ausführendes Subject: principals=[]
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.isInWlsGlobalSecurityRoles(WLSMBeanSecurityHelper.java:245)
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.checkRuntimeMBeanDefaultAccess(WLSMBeanSecurityHelper.java:213)
at oracle.as.jmx.framework.wls.spi.security.WLSRuntimeMBeanSecurityInterceptor.checkDefaultAccess(WLSRuntimeMBeanSecurityInterceptor.java:56)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:335)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAttributeAccess(AbstractMBeanSecurityInterceptor.java:251)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttributes(AbstractMBeanSecurityInterceptor.java:136)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributesDelegator.delegate(JpsJmxInterceptor.java:855)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:747)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:768)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttributes(JpsJmxInterceptor.java:205)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttributes(ContextClassLoaderMBeanInterceptor.java:118)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttributes(MBeanRestartInterceptor.java:87)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttributes(LoggingMBeanInterceptor.java:347)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttributes(OracleStandardEmitterMBean.java:672)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:726)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:665)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$13.run(WLSMBeanServerInterceptorBase.java:353)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttributes(WLSMBeanServerInterceptorBase.java:351)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttributes(JMXContextInterceptor.java:192)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$13.run(WLSMBeanServerInterceptorBase.java:353)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttributes(WLSMBeanServerInterceptorBase.java:351)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttributes(SecurityInterceptor.java:307)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttributes(WLSMBeanServer.java:292)
at oracle.as.jmx.framework.generic.BaseMBeanServerInterceptor.getAttributes(BaseMBeanServerInterceptor.java:191)
at oracle.dms.impl.producer.MetricConvertor.getColumnValues(MetricConvertor.java:333)
at oracle.dms.impl.producer.MBeanTreeletGenerator.queryMetricValues(MBeanTreeletGenerator.java:181)
at oracle.dms.reporter.TreeletReporter.printGetResponse(TreeletReporter.java:242)
at oracle.dms.reporter.TreeletReporter.printResponse(TreeletReporter.java:122)
at oracle.dms.impl.producer.Dumper._dump(Dumper.java:310)
at oracle.dms.impl.producer.Dumper.run(Dumper.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
at oracle.dms.aggregator.DmsThreadFactory$1$1.run(DmsThreadFactory.java:57)
at oracle.dms.aggregator.DmsThreadFactory$1.run(DmsThreadFactory.java:61)
at java.lang.Thread.run(Thread.java:662)Hi,
this is a fresh install (Win 7), the default SampleAppLite is active and can be opened offline.
But all this doesn't bring me closer to an explanation why the coreapplication processes don't start. The thread you are referencing to confuses me. I see that I'm not the first one to encounter this problem. In the Fusion Control it's clear that the 5 processes failed at the start (I gave the log entry of one of them). What can I do and where can I look to find out the reason of this failure?
It seems to be a security issue:
Message MBean-Attributzugriff verweigert. (attribute access denied)
Supplemental Detail MBean: oracle.biee.admin:type=BIDomain.BIInstanceStatusMetric,biInstance=coreapplication,group=Service
Getter für Attribut ReadOnly
Details: Zugriff verweigert. Erforderliche Rollen: Admin, Operator, Monitor, ausführendes Subject: principals=[] java.lang.SecurityException: Zugriff verweigert. Erforderliche Rollen: Admin, Operator, Monitor, ausführendes Subject: principals=[]
How can I set roles in this context? Is this the executing Windows user who should get granted some Windows privileges? I'm complete naked in this J2EE area.
Please help!
thanks in advance
Thomas
Edited by: tdombrow on Apr 16, 2012 6:07 AM -
Error starting analytics - OBIEE 11.1.1.6 on Windows 7 64bit
Hello All -
I installed OBIEE 11.1.1.6 on Windows 7 64bit with out any errors. I am facing problem starting up the analytic's page, It is struck at the 500 Internal server error page. I opened up the enterprise manager to check whether all the services are up and running, but i found one of the service is down making it to 67-33%. BI Core application is down and when I opened it, all the services are down. BI server, BI presentation services, BI scheduler..all are down. I tried to restart all the services but in vain.
I have installed Loopback adaptor before staring the OBIEE installation, Checked the host file to have the ip address and machine name, Checked the OPMN status via cmd, all are alive. I am unable to figure out why I am getting this error. Below is the log file
Any help is greatly appreciated...Thanks for your time..
ECID bc7431c56d947d4e:-8f79716:137ed97154c:-8000-0000000000000135
Message OPMN.queryProcessStatus failed with the following exception
Supplemental Detail oracle.as.management.opmn.optic.OpticBadConnectException: Could not get secure socket for host 10.0.0.6 and port 9501
at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:52)
at oracle.as.management.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:733)
at oracle.as.management.opmn.optic.OpmnPhone.getSocketForCall(OpmnPhone.java:455)
at oracle.as.management.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:315)
at oracle.as.management.opmn.optic.OpmnPhone.request(OpmnPhone.java:270)
at oracle.as.management.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:482)
at oracle.as.management.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:602)
at oracle.as.management.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:750)
at oracle.as.management.mbeans.opmn.Opmn.queryProcessStatus(Opmn.java:328)
at oracle.as.management.mbeans.opmn.Opmn.getStatus(Opmn.java:85)
at oracle.as.management.mbeans.opmn.Opmn.getStatus(Opmn.java:75)
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:597)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:65)
at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:216)
at javax.management.StandardMBean.getAttribute(StandardMBean.java:358)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doGetAttribute(OracleStandardEmitterMBean.java:737)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalGetAttribute(AdfMBeanInterceptor.java:72)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttribute(AbstractMBeanSecurityInterceptor.java:127)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributeDelegator.delegate(JpsJmxInterceptor.java:843)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:747)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:768)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttribute(JpsJmxInterceptor.java:230)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttribute(ContextClassLoaderMBeanInterceptor.java:66)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttribute(MBeanRestartInterceptor.java:67)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttribute(LoggingMBeanInterceptor.java:291)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttribute(OracleStandardEmitterMBean.java:716)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at weblogic.management.mbeanservers.domainruntime.internal.ManagedMBeanServerConnection.getAttribute(ManagedMBeanServerConnection.java:304)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.getAttribute(FederatedMBeanServerInterceptor.java:308)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at oracle.as.jmx.framework.generic.BaseMBeanServerInterceptor.getAttribute(BaseMBeanServerInterceptor.java:185)
at oracle.bi.management.adminservices.opmn.OpmnProcessController._isOpmnRunningWithProcesses(OpmnProcessController.java:636)
at oracle.bi.management.adminservices.opmn.OpmnProcessController.startThreadProcesses(OpmnProcessController.java:304)
at oracle.bi.management.adminservices.opmn.OpmnProcessController.startAll(OpmnProcessController.java:220)
at oracle.bi.management.adminservices.model.impl.ProcessManagerProxyImpl.startAll(ProcessManagerProxyImpl.java:144)
at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.startSystemComponents(BIInstanceMBeanImpl.java:409)
at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.localStart(BIInstanceMBeanImpl.java:307)
at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.start(BIInstanceMBeanImpl.java:246)
at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.start(BIInstanceMBeanImpl.java:284)
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:597)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:1012)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:358)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:374)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:924)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:919)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:917)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:184)
at oracle.sysman.emai.model.bi.impl.InstanceMBeanHelper.start(InstanceMBeanHelper.java:126)
at oracle.sysman.emai.model.bi.impl.InstanceModelAdaptor.start(InstanceModelAdaptor.java:319)
at oracle.sysman.emai.view.bi.SystemStartStopView.start(SystemStartStopView.java:46)
at oracle.sysman.emai.view.bi.AvailabilityView.startAllComponents(AvailabilityView.java:255)
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:597)
at oracle.sysman.emas.sdk.progress.WorkWrapper.run(WorkWrapper.java:96)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:564)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:365)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:48)
... 144 more
=================================================================================
Supplementary information regarding operation: ORACLE_INSTANCE:-:instance1;FAILED_CONTACTING_OPMN;Failed contacting OPMN, Please check if OPMN process is running. Cannot start or stop components of BI Instance.
=================================================================================Hi,
It look like port conflict issue.
Root Cause
The port, identified in the AdminServer-diagnostic log:
OPMN.queryProcessStatus failed with the following exception
[[ oracle.as.management.opmn.optic.OpticBadConnectException: Could not get secure socket for host slvgqa58.company.com and port 9501
at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:52)
was fouled by a another process.
Solution
Clear the port, by using the netstat command (i.e. netstat -anp grep 9501) to identify the processes running on the specified port, and then kill those processes.Once the processes were terminated, all BI components, on both servers in the cluster, started successfully.
Thanks
Deva -
Getting Warning Message in Oracle 11g1.1.1.4 Server -Causing server crash
e.>
<Mar 27, 2012 3:28:43 PM CEST> <Info> <Health> <BEA-310002> <55% of the total memory in the server is free>
<Mar 27, 2012 3:28:47 PM CEST> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.getAttribut
e(Ljavax.management.ObjectName;Ljava.lang.String;Ljavax.security.auth.Subject;)
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: Attribute applicable only for Service bindings..
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: Attribute applicable only for Service bindings.
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:670)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5$1.run(JMXConnectorSubjectForwarder.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5.run(JMXConnectorSubjectForwarder.java:324)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getAttribute(JMXConnectorSubjectForwarder.java:319)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1404)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:600)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: java.lang.UnsupportedOperationException: Attribute applicable only for Service bindings.
at oracle.fabric.management.composite.mbean.WSBinding.requireServiceBinding(WSBinding.java:839)
at oracle.fabric.management.composite.mbean.WSBinding.getEndpointAddressURI(WSBinding.java:245)
at sun.reflect.GeneratedMethodAccessor1023.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:65)
at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:216)
at javax.management.StandardMBean.getAttribute(StandardMBean.java:358)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doGetAttribute(OracleStandardEmitterMBean.java:717)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalGetAttribute(AdfMBeanInterceptor.java:72)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttribute(AbstractMBeanSecurityInterceptor.java:127)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributeDelegator.delegate(JpsJmxInterceptor.java:829)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:733)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:754)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttribute(JpsJmxInterceptor.java:216)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttribute(ContextClassLoaderMBeanInterceptor.java:6
6)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttribute(MBeanRestartInterceptor.java:67)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttribute(LoggingMBeanInterceptor.java:291)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttribute(OracleStandardEmitterMBean.java:698)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5$1.run(JMXConnectorSubjectForwarder.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5.run(JMXConnectorSubjectForwarder.java:324)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getAttribute(JMXConnectorSubjectForwarder.java:319)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1404)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:600)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)e.>
<Mar 27, 2012 3:28:43 PM CEST> <Info> <Health> <BEA-310002> <55% of the total memory in the server is free>
<Mar 27, 2012 3:28:47 PM CEST> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.getAttribut
e(Ljavax.management.ObjectName;Ljava.lang.String;Ljavax.security.auth.Subject;)
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: Attribute applicable only for Service bindings..
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: Attribute applicable only for Service bindings.
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:670)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5$1.run(JMXConnectorSubjectForwarder.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5.run(JMXConnectorSubjectForwarder.java:324)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getAttribute(JMXConnectorSubjectForwarder.java:319)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1404)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:600)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: java.lang.UnsupportedOperationException: Attribute applicable only for Service bindings.
at oracle.fabric.management.composite.mbean.WSBinding.requireServiceBinding(WSBinding.java:839)
at oracle.fabric.management.composite.mbean.WSBinding.getEndpointAddressURI(WSBinding.java:245)
at sun.reflect.GeneratedMethodAccessor1023.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:65)
at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:216)
at javax.management.StandardMBean.getAttribute(StandardMBean.java:358)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doGetAttribute(OracleStandardEmitterMBean.java:717)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalGetAttribute(AdfMBeanInterceptor.java:72)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttribute(AbstractMBeanSecurityInterceptor.java:127)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributeDelegator.delegate(JpsJmxInterceptor.java:829)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:733)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:754)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttribute(JpsJmxInterceptor.java:216)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttribute(ContextClassLoaderMBeanInterceptor.java:6
6)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttribute(MBeanRestartInterceptor.java:67)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttribute(LoggingMBeanInterceptor.java:291)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttribute(OracleStandardEmitterMBean.java:698)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5$1.run(JMXConnectorSubjectForwarder.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$5.run(JMXConnectorSubjectForwarder.java:324)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.getAttribute(JMXConnectorSubjectForwarder.java:319)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1404)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:600)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) -
Exception handling bug in EJB-s
Hi,
My collegue had problems with exceptions in iPlanet EJB-s.
Exceptions that were inherited from the class that is declared to be
thrown by a particular method made EJB-s to be destroyed due to an
unhadled exception. (Eg. NoSuchObjectException is found to be unhandled
even if FinderException is declared to be thrown.)
This is a serious malfunction of the container and against the basic
concept of EJB and also the Java itself.
The root cause that were found is highlighted in the code example, where
direct equality is used for testing class instead of the instanceof
operator. This code has been found in ejb_skel_CLASSNAME.java and has
been generatd by ejbc iAS6 SP3.
Regards,
Gy�rgy Szondy
Capital Systems Kft.
Gy�rgy Szondy, Development Team Manager
Gogol u. 16., 1133 Budapest, Hungary
Tel: +36 1 288 7036 mailto:[email protected]
Fax: +36 1 350 8159
-----Eredeti �zenet-----
Felad�: Geiszter Gy�rgy
Elk�ldve: 2001.okt�ber.8. 14:23
C�mzett: Szondy Gy�rgy
T�rgy: Exception handling in EJB-s
public void removePerson(int arg0) throws java.rmi.RemoteException,
hu.capsys.wwwsol.control.WwwsolException
Object delegate = super._ns_getDelegateForUpCall();
try
nsbeforeUpcall("removePerson", delegate);
try
delegate.getClass().getMethod("removePerson", new Class[]{
Integer.TYPE}).invoke(delegate, new Object[]{
new Integer(arg0 )});
} catch
(java.lang.reflect.InvocationTargetException ex) {
Throwable th = ex.getTargetException();
if (th.getClass() ==
hu.capsys.wwwsol.control.WwwsolException.class){ // HERE IS THE BUG
nsafterUpcall("removePerson", delegate, th);
throw (hu.capsys.wwwsol.control.WwwsolException)th ;
nsafterUpcall("removePerson", delegate, th);
java.rmi.RemoteException subex = nsinvalidateDelegate(delegate,
th);
delegate = null;
throw subex;
catch (java.lang.Throwable ex)
nsafterUpcall("removePerson", delegate, ex);
java.rmi.RemoteException subex = nsinvalidateDelegate(delegate,
ex);
delegate = null;
throw subex;
finally
if(delegate != null)
nsreleaseDelegateForUpCall(delegate);
nsafterUpcall("removePerson", delegate, null);
}Hi,
My collegue had problems with exceptions in iPlanet EJB-s.
Exceptions that were inherited from the class that is declared to be
thrown by a particular method made EJB-s to be destroyed due to an
unhadled exception. (Eg. NoSuchObjectException is found to be unhandled
even if FinderException is declared to be thrown.)
This is a serious malfunction of the container and against the basic
concept of EJB and also the Java itself.
The root cause that were found is highlighted in the code example, where
direct equality is used for testing class instead of the instanceof
operator. This code has been found in ejb_skel_CLASSNAME.java and has
been generatd by ejbc iAS6 SP3.
Regards,
Gy�rgy Szondy
Capital Systems Kft.
Gy�rgy Szondy, Development Team Manager
Gogol u. 16., 1133 Budapest, Hungary
Tel: +36 1 288 7036 mailto:[email protected]
Fax: +36 1 350 8159
-----Eredeti �zenet-----
Felad�: Geiszter Gy�rgy
Elk�ldve: 2001.okt�ber.8. 14:23
C�mzett: Szondy Gy�rgy
T�rgy: Exception handling in EJB-s
public void removePerson(int arg0) throws java.rmi.RemoteException,
hu.capsys.wwwsol.control.WwwsolException
Object delegate = super._ns_getDelegateForUpCall();
try
nsbeforeUpcall("removePerson", delegate);
try
delegate.getClass().getMethod("removePerson", new Class[]{
Integer.TYPE}).invoke(delegate, new Object[]{
new Integer(arg0 )});
} catch
(java.lang.reflect.InvocationTargetException ex) {
Throwable th = ex.getTargetException();
if (th.getClass() ==
hu.capsys.wwwsol.control.WwwsolException.class){ // HERE IS THE BUG
nsafterUpcall("removePerson", delegate, th);
throw (hu.capsys.wwwsol.control.WwwsolException)th ;
nsafterUpcall("removePerson", delegate, th);
java.rmi.RemoteException subex = nsinvalidateDelegate(delegate,
th);
delegate = null;
throw subex;
catch (java.lang.Throwable ex)
nsafterUpcall("removePerson", delegate, ex);
java.rmi.RemoteException subex = nsinvalidateDelegate(delegate,
ex);
delegate = null;
throw subex;
finally
if(delegate != null)
nsreleaseDelegateForUpCall(delegate);
nsafterUpcall("removePerson", delegate, null);
} -
App Server 8.0 LDAP SSL Problems
Hello,
I have been able to get the following java code to connect to an LDAP server to work in a servlet (within a j2ee-module) under the Sun J2EE application server 8.0 when I am connecting to a non-ssl LDAP server:
LDAPConnection conn = new LDAPConnection();
conn.connect(ldap_host, Integer.parseInt(ldap_port));
StringBuffer sb = new StringBuffer("uid=");
sb.append(cuid).append(",").append(ldap_base);
String dn = sb.toString();
conn.authenticate(3, dn, password);
I have been having a bear of the time implementing the same thing but with SSL by changing the host and port to a SSL LDAP instance and substituting the following code:
LDAPConnection conn new LDAPConnection();
JSSESocketFactory jssf = new netscape.ldap.factory.JSSESocketFactory(null);
conn = new LDAPConnection(jssf);
I have used the following command to insert the cert from the LDAP server into the keystore:
keytool -import -trustcacerts -alias <ca-cert-alias> -file <cert>
I have also tried to inject the cert into the cacerts file found under the SUNWappserver/domains/domain1/config/cacerts.jks file directly using keytool.
No matter what I do, when the SSL version of the code is executed I get the following exception:
[#|2004-07-14T13:59:40.372-0400|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|
DEBUG Wed Jul 14 13:59:40 EDT 2004: <class removed for security purposes>.doPost:
Uncaptured Exception: JSSESocketFactory.makeSocket <host and port removed for security purposes>, Default SSL context init failed: Cannot recover key|#]
[#|2004-07-14T13:59:40.374-0400|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|
DEBUG Wed Jul 14 13:59:40 EDT 2004: <class removed for security purposes>.doPost:
netscape.ldap.LDAPException: JSSESocketFactory.makeSocket <host and port removed for security purposes>, Default SSL context init failed: Cannot recover key (91)
at netscape.ldap.factory.JSSESocketFactory.makeSocket(JSSESocketFactory.java:111)
at netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSetupMgr.java:509)
at netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetupMgr.java:435)
at netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr.java:274)
at netscape.ldap.LDAPConnSetupMgr.openConnection(LDAPConnSetupMgr.java:199)
at netscape.ldap.LDAPConnThread.connect(LDAPConnThread.java:109)
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:1067)
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:938)
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:781)
at com.qwest.nts.portal.LdapHelper.authenticate(LdapHelper.java:51)
at com.qwest.nts.portal.servlet.PortalServlet.doPost(PortalServlet.java:68)
at com.qwest.nts.portal.servlet.BaseServlet.doGet(BaseServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:748)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
Am I missing something here? What does one need to do to get the Sun application server to enable SSL connections to an LDAP server? I am a bit confused what keystore to use since there are numerous copies of cacerts.jks and keystore.jks among both the application server config files and the jdk/jre config files found under SUNWappserver.
I attempted to see debug messages by adding -Djavax.net.debug=all directly to the java command found in the startserv script for this web appliaction. I am not sure if this is the correct way to set system parameters when using the J2EE Sun application server, but it should work, no? When I do this I don't see any additional messages in the server's log file found at /SUNWappserver/domains/domain1/logs/server.log. All I see is System.out.println's from the java code and the exception.
Thanks in advance for any help.
- DanHarpreet,
Thanks for the reply. Yes I do just want to authenticate to the LDAP server from some code in my servlet. It is working against a non-ssl server right now. I guess I am not using the LDAPRealm that the appserver provides because I didn't now about it. I just pulled working LDAP code from another project (written for weblogic). As I said before all is working fine against the non-ssl server, however, I need to authenticate against a SSL server. As for your other question, why am I using JSSESocketFactory, I don't have a good answer. The application I am using as an example around here uses ldapsdk.jar. Are you saying that these LDAP classes are already built in?
Thanks
- Dan
Hi Dan
A couple of questions that will help me understand
this better.
1. It seems you just want to authenticate to the LDAP
server
from some code in your servlet - is that right?
(On a side note: why dont you use the LDAPRealm that
the appserver
provides? It currently does not perform SSL
authentication but that is
something we are looking at). This way you dont end up
reinventing the wheel.
2. Any particular reasons on not using J2SE Security
factory classes
(Since you use netscape JSSESocketFactory - you will
have to use
Netscape provided flags to see what is going on over
the wire). That
is the reason javax.net.debug flags are not showing
any useful output.
PS: javax.net.debug=ssl should suffice
Some comments and clarifications:
The truststore that you should bother about - is the
one under
domains/domain_name_of_the_domain_u_use/cacerts.jks.
Cacerts.jks has your imported(trusted certs) while
keystore.jks has
your server private keys and certificates.
(more info @
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security
.html#wp142440)
There has been a relevant thread that you may look at
http://forum.java.sun.com/thread.jsp?forum=136&thread=5
1519
Hope that helps
- Regards
Harpreet
I have been able to get the following java code to
connect to an LDAP server to work in a servlet(within
a j2ee-module) under the Sun J2EE applicationserver
8.0 when I am connecting to a non-ssl LDAP server:
LDAPConnection conn = new LDAPConnection();
conn.connect(ldap_host,Integer.parseInt(ldap_port));
StringBuffer sb = new StringBuffer("uid=");
sb.append(cuid).append(",").append(ldap_base);
String dn = sb.toString();
conn.authenticate(3, dn, password);
I have been having a bear of the time implementingthe
same thing but with SSL by changing the host andport
to a SSL LDAP instance and substituting thefollowing
code:
LDAPConnection conn new LDAPConnection();
JSSESocketFactory jssf = new
netscape.ldap.factory.JSSESocketFactory(null);
conn = new LDAPConnection(jssf);
I have used the following command to insert the cert
from the LDAP server into the keystore:
keytool -import -trustcacerts -alias <ca-cert-alias>
-file <cert>
I have also tried to inject the cert into thecacerts
file found under the
SUNWappserver/domains/domain1/config/cacerts.jksfile
directly using keytool.
No matter what I do, when the SSL version of thecode
is executed I get the following exception:
[#|2004-07-14T13:59:40.372-0400|INFO|sun-appserver-pe8.
>
.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|
DEBUG Wed Jul 14 13:59:40 EDT 2004: <class removedfor
security purposes>.doPost:
Uncaptured Exception: JSSESocketFactory.makeSocket
<host and port removed for security purposes>,Default
SSL context init failed: Cannot recover key|#]
[#|2004-07-14T13:59:40.374-0400|INFO|sun-appserver-pe8.
>
.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|
DEBUG Wed Jul 14 13:59:40 EDT 2004: <class removedfor
security purposes>.doPost:
netscape.ldap.LDAPException:
JSSESocketFactory.makeSocket <host and port removed
for security purposes>, Default SSL context init
failed: Cannot recover key (91)
at
netscape.ldap.factory.JSSESocketFactory.makeSocket(JSSE
ocketFactory.java:111)
at
netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSe
upMgr.java:509)
at
netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetup
gr.java:435)
at
netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr
java:274)
at
netscape.ldap.LDAPConnSetupMgr.openConnection(LDAPConnS
tupMgr.java:199)
at
netscape.ldap.LDAPConnThread.connect(LDAPConnThread.jav
:109)
at
netscape.ldap.LDAPConnection.connect(LDAPConnection.jav
:1067)
at
netscape.ldap.LDAPConnection.connect(LDAPConnection.jav
:938)
at
netscape.ldap.LDAPConnection.connect(LDAPConnection.jav
:781)
at
com.qwest.nts.portal.LdapHelper.authenticate(LdapHelper
java:51)
at
com.qwest.nts.portal.servlet.PortalServlet.doPost(Porta
Servlet.java:68)
at
com.qwest.nts.portal.servlet.BaseServlet.doGet(BaseServ
et.java:50)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java
748)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java
861)
at
sun.reflect.GeneratedMethodAccessor68.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegat
ngMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.security.SecurityUtil$1.run(Securit
Util.java:246)
atjava.security.AccessController.doPrivileged(Native
Method)
Am I missing something here? What does one need todo
to get the Sun application server to enable SSL
connections to an LDAP server? I am a bit confused
what keystore to use since there are numerous copies
of cacerts.jks and keystore.jks among both the
application server config files and the jdk/jreconfig
files found under SUNWappserver.
I attempted to see debug messages by adding
-Djavax.net.debug=all directly to the java command
found in the startserv script for this web
appliaction. I am not sure if this is the correctway
to set system parameters when using the J2EE Sun
application server, but it should work, no? When Ido
this I don't see any additional messages in the
server's log file found at
/SUNWappserver/domains/domain1/logs/server.log. AllI
see is System.out.println's from the java code andthe
exception.
Thanks in advance for any help.
- Dan -
I'm using Sun ONE AS 7 for deploying an EJB jar containing several entitys with relations.
I can use the methods set<Relation> and I can see the new data in the database system, it looks goods even the tables using for the many-many relations.
But when I use the get<Relation> method and I try to access the Collection that returns that method I always found the next error:
WARNING: CORE3283: stderr: java.lang.IllegalStateException
WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.ejb.cmp.E
JBHashSet.assertInTransaction(EJBHashSet.java:352)
WARNING: CORE3283: stderr: at com.sun.jdo.spi.persistence.support.ejb.cmp.E
JBHashSet.iterator(EJBHashSet.java:295)
...I've traced the SQL statement executed by the S1AS and that statement works fine, so the problem is not in the DB system.
Thanks in advance for your help.Hello,
I got the same problem wit a 1:* Relation, but I can't find an error in my Transactions. All of them are marked as required and I use Container Managed Persistence.
here is my error code:
Caught an exception:
java.lang.IllegalStateException
at com.sun.jdo.spi.persistence.support.ejb.cmp.EJBHashSet.a
EJBHashSet.java:339)
at com.sun.jdo.spi.persistence.support.ejb.cmp.EJBHashSet.s
t.java:192)
at util.EmployeeDetails.toString(EmployeeDetails.java:142)
at clients.TimeRecordClient.main(TimeRecordClient.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Ut
5)
at com.sun.enterprise.appclient.Main.<init>(Main.java:420)
at com.sun.enterprise.appclient.Main.main(Main.java:92)
Maybe someone could help me.... -
Hi,
There's a note in the documentation of Oracle 10g that we should use TIMESTAMP instead of DATE in the DB.
And with the JDBC-Driver 10g writing of java.util.Timestamp with Date and Time works but reading doesn't work.
I throws an exception:
Exception [TOPLINK-3001] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.ConversionException
Exception-Beschreibung: Das Objekt [oracle.sql.TIMESTAMP@7bd0d], von Klasse [class oracle.sql.TIMESTAMP], konnte nicht
in [class java.sql.Timestamp] konvertiert werden.
at oracle.toplink.exceptions.ConversionException.couldNotBeConverted(ConversionException.java:35)
at oracle.toplink.internal.helper.ConversionManager.convertObjectToTimestamp(ConversionManager.java:653)
at oracle.toplink.internal.helper.ConversionManager.convertObject(ConversionManager.java:103)
at oracle.toplink.internal.databaseaccess.DatabasePlatform.convertObject(DatabasePlatform.java:556)
at oracle.toplink.mappings.DirectToFieldMapping.getAttributeValue(DirectToFieldMapping.java:224)
at oracle.toplink.mappings.DirectToFieldMapping.valueFromRow(DirectToFieldMapping.java:458)
at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:860)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:164)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:354)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildObjectsInto(ObjectBuilder.java:387)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.buildObjectsFromRows
(DatabaseQueryMechanism.java:146)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:422)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
at oracle.toplink.sessionbroker.SessionBroker.internalExecuteQuery(SessionBroker.java:461)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1078)
at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromQuery(NoIndirectionPolicy.java:254)
at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(ForeignReferenceMapping.java:880)
at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:860)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:164)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:354)
at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
at oracle.toplink.sessionbroker.SessionBroker.internalExecuteQuery(SessionBroker.java:461)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
at oracle.toplink.publicinterface.Session.refreshAndLockObject(Session.java:2552)
at oracle.toplink.publicinterface.Session.refreshObject(Session.java:2565)
at ch.sbb.mct.pk.business.service.konsum.impl.DossierServiceImpl.getDossier(DossierServiceImpl.java:837)
at java.lang.reflect.Method.invoke(Native Method)
at ch.sbb.mca.plugin.McaTargetInvocationHandler.invoke(McaTargetInvocationHandler.java:30)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.delegate(McaInvocationHandlerDecorator.java:86)
at ch.sbb.mca.plugin.profiling.ProfilingInvocationHandler.delegate(ProfilingInvocationHandler.java:37)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.invoke(McaInvocationHandlerDecorator.java:42)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.delegate(McaInvocationHandlerDecorator.java:86)
at ch.sbb.mca.plugin.tracing.TracingInvocationHandler.delegate(TracingInvocationHandler.java:33)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.invoke(McaInvocationHandlerDecorator.java:42)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.delegate(McaInvocationHandlerDecorator.java:86)
at ch.sbb.mca.plugin.transaction.TransactionInvocationHandler.delegate(TransactionInvocationHandler.java:84)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.invoke(McaInvocationHandlerDecorator.java:42)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.delegate(McaInvocationHandlerDecorator.java:86)
at ch.sbb.mca.kernel.ServiceLocatorProvider.delegate(ServiceLocatorProvider.java:67)
at ch.sbb.mca.plugin.McaInvocationHandlerDecorator.invoke(McaInvocationHandlerDecorator.java:42)
at ch.sbb.mca.plugin.McaInvocationHandlerAdapter.invoke(McaInvocationHandlerAdapter.java:57)
at $Proxy17.getDossier(Unknown Source)
at ch.sbb.mct.pk.client.dossier.test.AddPositionTest.testAddPosition(AddPositionTest.java:46)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
There is also no way to define a DB-Field in TopLink MappingWorkbench as TIMESTAMP.
Thanks for your help.
Regards, SimonHi all you.
I have small problem with timestamp type. I use both Jdeveloper version 9.0.5.2 and 10.1.2 to build object toplink from database. If column in database is TimeStamp type (I use to check concurrency by lastModifiedOn), then object toplink (auto created) has String field. I can read value from database but I can insert value for this field.
In address toplink object has field:
private String lastModifiedOn;
If I set address.setLastModifiedOn("14-FEB-05 08."); it run fine (14-FEB-05 08. is the value when I run sql: select systimestamp from dual; by SQL Navigator)
I cannot get String or Timestamp value of result:
ValueReadQuery query = new ValueReadQuery();
query.setSQLString(" SELECT SYSDATE FROM Dual");
Object timestamp = (Object)session.executeQuery(query);
If I set as:
address.setLastModifiedOn(String.valueOf(System.currentTimeMillis()));
then exception occurs
Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: ORA-01843: not a valid month
Internal Exception: java.sql.SQLException: ORA-01843: not a valid month
Error Code: 1843
at oracle.toplink.exceptions.TopLinkException.<init>(TopLinkException.java:48)
at oracle.toplink.exceptions.DatabaseException.<init>(DatabaseException.java:52)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:226)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:730)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:778)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:639)
at oracle.toplink.publicinterface.Session.executeCall(Session.java:803)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:130)
at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:111)
at oracle.toplink.internal.queryframework.CallQueryMechanism.insertObject(CallQueryMechanism.java:262)
at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:171)
at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:188)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:433)
at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:40)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:588)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:555)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:376)
at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:40)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWrite(DatabaseQueryMechanism.java:209)
at oracle.toplink.queryframework.WriteObjectQuery.execute(WriteObjectQuery.java:53)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
at oracle.toplink.publicinterface.Session.insertObject(Session.java:1955)
at uk.co.lsb.elb.toplink.AddressClient.main(AddressClient.java:48)
Caused by: java.sql.SQLException: ORA-01843: not a valid month
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2076)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1987)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2697)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)
... 22 moreany one can help me to sovler this problem.
Thanks in advanced. -
OBIEE BI Server Error 500 - Internal Server Error
Hi,
When start up bi_server from EM do that without problem, but In browser (http://localhost:9704/analytics) shows:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
In wls console shows:
<01/06/2014 16h'47 ART> <Error> <Default> <J2EE JMX-46335> <Access attribute MBean denied. MBean: oracle.as.management.mbeans.register:type=opmnInfoCenter Getter para el atributo InstanceNames
Detail: Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[] java.lang.SecurityException: Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[]
java.lang.SecurityException: Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[]
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.isInWlsGlobalSecurityRoles(WLSMBeanSecurityHelper.java:245)
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.checkRuntimeMBeanDefaultAccess(WLSMBeanSecurityHelper.java:213)
at oracle.as.jmx.framework.wls.spi.security.WLSRuntimeMBeanSecurityInterceptor.checkDefaultAccess(WLSRuntimeMBeanSecurityInterceptor.java:56)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:335)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAttributeAccess(AbstractMBeanSecurityInterceptor.java:251)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttribute(AbstractMBeanSecurityInterceptor.java:126)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributeDelegator.delegate(JpsJmxInterceptor.java:843)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:747)
at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:768)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttribute(JpsJmxInterceptor.java:230)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttribute(ContextClassLoaderMBeanInterceptor.java:66)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttribute(MBeanRestartInterceptor.java:67)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttribute(LoggingMBeanInterceptor.java:291)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttribute(OracleStandardEmitterMBean.java:716)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279)
at oracle.as.jmx.framework.generic.BaseMBeanServerInterceptor.getAttribute(BaseMBeanServerInterceptor.java:185)
at oracle.dms.opmn.app.OpmnDiscoverer.gatherAddresses(OpmnDiscoverer.java:87)
at oracle.dms.address.AddressBook$DiscoverAddressTask.call(AddressBook.java:814)
at oracle.dms.address.AddressBook$DiscoverAddressTask.call(AddressBook.java:786)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at oracle.dms.aggregator.DmsThreadFactory$1$1.run(DmsThreadFactory.java:56)
at java.security.AccessController.doPrivileged(Native Method) at oracle.dms.aggregator.DmsThreadFactory$1.run(DmsThreadFactory.java:51) at java.lang.Thread.run(Thread.java:662)
>
Looks like a security problem, a few times asked me user and pass when start wls but never again do that. Now start up without ask me user and password.
When wls start for first time when was intalled bi_server work fine.
ThanksI solve previus exception but i get new one
[2014-06-01T18:45:30.816-03:00] [AdminServer] [ERROR] [] [oracle.as.management.mbeans.opmn] [tid: Thread-95] [userId: smartin] [ecid: f7e45c65a7f286c6:73c14de4:146595d311c:-8000-000000000000007a,1:24227] [APP: NonJ2EEManagement] OPMN.queryProcessStatus failed with the following exception[[ oracle.as.management.opmn.optic.OpticBadConnectException: Could not get secure socket for host C3P0 and port 9501 at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:52) at oracle.as.management.opmn.optic.OpmnPhone.dialOpmn(OpmnPhone.java:733) at oracle.as.management.opmn.optic.OpmnPhone.getSocketForCall(OpmnPhone.java:455) at oracle.as.management.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:315) at oracle.as.management.opmn.optic.OpmnPhone.request(OpmnPhone.java:270) at oracle.as.management.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:482) at oracle.as.management.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:602) at oracle.as.management.opmn.optic.OpmnQuery.getProc(OpmnQuery.java:750) at oracle.as.management.mbeans.opmn.Opmn.queryProcessStatus(Opmn.java:328) at oracle.as.management.mbeans.opmn.Opmn.getStatus(Opmn.java:85) at oracle.as.management.mbeans.opmn.Opmn.getStatus(Opmn.java:75) 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:597) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:65) at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:216) at javax.management.StandardMBean.getAttribute(StandardMBean.java:358) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doGetAttribute(OracleStandardEmitterMBean.java:737) at oracle.adf.mbean.share.AdfMBeanInterceptor.internalGetAttribute(AdfMBeanInterceptor.java:72) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86) at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttribute(AbstractMBeanSecurityInterceptor.java:127) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86) at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributeDelegator.delegate(JpsJmxInterceptor.java:843) at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:747) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:768) at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttribute(JpsJmxInterceptor.java:230) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86) at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttribute(ContextClassLoaderMBeanInterceptor.java:66) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86) at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttribute(MBeanRestartInterceptor.java:67) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86) at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttribute(LoggingMBeanInterceptor.java:291) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttribute(AbstractMBeanInterceptor.java:86) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttribute(OracleStandardEmitterMBean.java:716) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666) at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324) at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279) at weblogic.management.mbeanservers.domainruntime.internal.ManagedMBeanServerConnection.getAttribute(ManagedMBeanServerConnection.java:304) at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.getAttribute(FederatedMBeanServerInterceptor.java:308) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttribute(JMXContextInterceptor.java:157) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$12.run(WLSMBeanServerInterceptorBase.java:326) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttribute(WLSMBeanServerInterceptorBase.java:324) at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttribute(SecurityInterceptor.java:299) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttribute(WLSMBeanServer.java:279) at oracle.as.jmx.framework.generic.BaseMBeanServerInterceptor.getAttribute(BaseMBeanServerInterceptor.java:185) at oracle.bi.management.adminservices.opmn.OpmnProcessController._isOpmnRunningWithProcesses(OpmnProcessController.java:636) at oracle.bi.management.adminservices.opmn.OpmnProcessController.startThreadProcesses(OpmnProcessController.java:304) at oracle.bi.management.adminservices.opmn.OpmnProcessController.startAll(OpmnProcessController.java:220) at oracle.bi.management.adminservices.model.impl.ProcessManagerProxyImpl.startAll(ProcessManagerProxyImpl.java:144) at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.startSystemComponents(BIInstanceMBeanImpl.java:409) at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.localStart(BIInstanceMBeanImpl.java:307) at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.start(BIInstanceMBeanImpl.java:246) at oracle.bi.management.adminservices.mbeans.impl.BIInstanceMBeanImpl.start(BIInstanceMBeanImpl.java:284) 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:597) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:1012) at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252) at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:190) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252) at oracle.security.jps.ee.jmx.JpsJmxInterceptor$2.run(JpsJmxInterceptor.java:358) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalInvoke(JpsJmxInterceptor.java:374) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252) at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:103) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252) at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252) at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalInvoke(LoggingMBeanInterceptor.java:524) at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252) at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:924) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:263) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663) at java.security.AccessController.doPrivileged(Native Method) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222) at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291) at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291) at oracle.sysman.emai.model.bi.impl.JmxUtil.invokeMethod(JmxUtil.java:184) at oracle.sysman.emai.model.bi.impl.InstanceMBeanHelper.start(InstanceMBeanHelper.java:126) at oracle.sysman.emai.model.bi.impl.InstanceModelAdaptor.start(InstanceModelAdaptor.java:319) at oracle.sysman.emai.view.bi.SystemStartStopView.start(SystemStartStopView.java:46) at oracle.sysman.emai.view.bi.AvailabilityView.startAllComponents(AvailabilityView.java:255) 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:597) at oracle.sysman.emas.sdk.progress.WorkWrapper.run(WorkWrapper.java:96) at java.lang.Thread.run(Thread.java:662) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:564) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(SSLSocketImpl.java:365) at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71) at oracle.as.management.opmn.optic.OpmnSSL.getSecureSocket(OpmnSSL.java:48) ... 141 more -
Nature of ClassLoading, special circumstance(?)
Let me start with some skeletal code:
class MyCustom extends Thread{
BufferedReader br; PrintWriter pw; Socket sock;
public MyCustom(Socket s)
/*set stuff here*/
public MyCustom(Socket s, BufferedReader b, PrintWriter p)
sock=s; br=b; pw=p;
public void run(){*do something*/}
public BufferedReader get_br(){return br;}
public PrintWriter get_pw(){return pw;}
public Socket get_sock(){return sock;}
Given the above, let's say that a new version of MyCustom.class is to be downloaded, but the Socket should remain open.... I have a second class that does not change in this manner, so...
class MyPlaceHolder extends Thread{
Socket sock; BufferedReader br; PrintWriter pw;
public MyPlaceHolder(Socket s, BufferedReader b, PrintWriter p)
sock=s; br=b; pw=p;
public void run()
/*do some sending and receiving*/
public Socket get_sock(){return sock;}
public BufferedReader get_br(){return br;}
public PrintWriter get_pw(){return pw;}
Ok... Here is the scenario... When it is ready to update that MyCustom.class file, it does this:
(given a MyCustom mc already existing):
some_method(){
MyPlaceHolder mph = new MyPlaceHolder(mc.get_sock(),mc.get_br(),mc.get_pw());
new Thread(mph).start();
mc = null;
System.gc();
/*download new .class file for MyCustom, replace old one, and then*/
mc = new MyCustom(mph.get_sock(),mph.get_br(),mph.get_pw());
new Thread(mc).start();
Maybe I am convoluted in my stating of what I want to do... The crux of my question is this:
1- When I go to create a new 'MyCustom', does it load dynamically, or does it cache the older object code for MyCustom.class?
2- When does the class load...?
In the following class:
class Yoyo{
TextField tf; TextArea ta; Panel p; Frame f; Vector v;
public Yoyo()
tf=new TextField(20); ta=new TextArea("",10,20); p=new Panel(); f=new Frame("Frame"); v=new Vector();
When are the java.awt.TextField, java.awt.Panel, java.awt.TextArea, java.awt.Frame and java.util.Vector actually loaded? At the 'import' statement?
OK... what about custom classes?
Are they loaded at the declaration, or at the constructor?
Thanks,
DaveWell, no, not quite...close though.
You can download the MyClass.class as many times as
you want, but the class definition is only loaded into
the primordial class loader the first time. Each and
every time you want to change its definition, you have
to supply a new ClassLoader and tell it to load the
class; the JVM doesn't do that for you.
All classes not already loaded into or available to
the primordial class loader that are referenced by
MyClass.class are then loaded by the same custom class
loader automatically. For that reason, you should
avoid loading MyClass.class with the primordial class
loader. This since you can never get rid of it once
it's loaded into the primordial class loader, and
custom class loaders defer the search of classes to
the primordial one before searching for new ones
themselves.Thats true if your new class loader uses the findClass method (class loader delegation model) but if the loadClass method was derived then if you don;t call super.loadClass then the system class loader is never called for this class, so you can stop classes from getting loaded from the system class loader this way.
With the java hotstop some classes are automatically loaded from the system class loader like [B, which is the class name for a byte[] (which does have a class of its own), even if you derive the loadClass method.
The classic vm still calls the loadClass method for classes like this.
>
A bit convoluted, perhaps? :)
It's not altogether easy, I admit.
Here's an example:
You have a class A that hasn't been loaded. A
uses JPanel, JFrame, etc. You simply type new
A(), and it's loaded by the primordial class
loader.
Then you create your own custom ClassLoader C,
and tells it to define A. Now it won't, since A is
already defined in the primordial class loader, and C
asks the primordial class loader "do you know what
this is, or can you find it"? Only if the answer is No
to both those questions does C go about defining the
class.
You can go around that by not having C asking
the primordial classloader first, but then you have to
redefine every class, recursively, that A refers to,
inside C...that, you don't want to do. Some are not
even allowed, such as those beginning with "java.".
You could delegate the java. classes with the super.loadClass method described earlier but
There is a sneaky way of defining classes which start with java.
by (using introspection and setting accessibility to true) call a function call define0 which is private to ClassLoader.
Now... if you had told C to define A instead of using
"new A()", then only those classes that don't already
exist or can't be found by the primordial class loader
would be loaded and defined by C. Meaning JPanel et al
definitions would still come from the primordial class
loader, since it can find them in its class path.
if you told C to define A and still did "new A()" then the class would be
loaded in C and the System class loader because C is higher in the class loader tree and would be asked..
Using the class loader delegation model.
D E a call to new A() in a class defined by both of these
| | class loaders would load the class in both only if C
+========+ and the system class loader didn't have it loaded first.
|
C a call to new A() in a class defined by this class loader would
| load the class in C only if the system class loader didn't have it | first
|
System a call to new A() in a class defined by the system class loader would load A in the system class loader even if loaded in C first.
Back to the original problem,
tomcat does this with its ServletLoader class, if the jar file which loaded the servlet changes then the ServletClassLoader is thrown away and a new classloader is created and the classes are reloaded, this is open so you can see the source for this at www.apache.org -
Biadminservices error messages
Does anyone know why my OBIEE instance is constantly generating the following messages in the server log. This is happening in both 11.1.1.5 and 11.1.1.6 OBIEE out of the box installation? Our customers are concerned about the messages even though obiee appears to be working.
Any idea on how to fix this is appreciated.
[2013-02-07T15:31:25.384-08:00] [AdminServer] [ERROR] [J2EE JMX-46335] [] [tid: DmsThread-1] [userId: <anonymous>] [ecid: 0000Jl0ZBPvBl35xrOr2CY1GxUQ5000002,0] [APP: biadminservices#11.1.1] MBean attribute access denied. [[
MBean: oracle.biee.admin:type=BIDomain.BIInstanceStatusMetric,biInstance=coreapplication,group=Service
Getter for attribute objectName
Detail: Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[] java.lang.SecurityException: Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[]
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.isInWlsGlobalSecurityRoles(WLSMBeanSecurityHelper.java:245)
at oracle.as.jmx.framework.wls.spi.security.WLSMBeanSecurityHelper.checkRuntimeMBeanDefaultAccess(WLSMBeanSecurityHelper.java:213)
at oracle.as.jmx.framework.wls.spi.security.WLSRuntimeMBeanSecurityInterceptor.checkDefaultAccess(WLSRuntimeMBeanSecurityInterceptor.java:56)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAccess(AbstractMBeanSecurityInterceptor.java:335)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.checkAttributeAccess(AbstractMBeanSecurityInterceptor.java:251)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalGetAttributes(AbstractMBeanSecurityInterceptor.java:136)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$GetAttributesDelegator.delegate(JpsJmxInterceptor.java:855)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor$7.run(JpsJmxInterceptor.java:747)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.jpsInternalInvoke(JpsJmxInterceptor.java:768)
at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalGetAttributes(JpsJmxInterceptor.java:205)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalGetAttributes(ContextClassLoaderMBeanInterceptor.java:118)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalGetAttributes(MBeanRestartInterceptor.java:87)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalGetAttributes(LoggingMBeanInterceptor.java:347)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doGetAttributes(AbstractMBeanInterceptor.java:114)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.getAttributes(OracleStandardEmitterMBean.java:672)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:726)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:665)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$13.run(WLSMBeanServerInterceptorBase.java:353)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttributes(WLSMBeanServerInterceptorBase.java:351)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttributes(JMXContextInterceptor.java:192)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$13.run(WLSMBeanServerInterceptorBase.java:353)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttributes(WLSMBeanServerInterceptorBase.java:351)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttributes(SecurityInterceptor.java:307)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttributes(WLSMBeanServer.java:292)
at oracle.as.jmx.framework.generic.BaseMBeanServerInterceptor.getAttributes(BaseMBeanServerInterceptor.java:191)
at oracle.dms.impl.producer.MetricConvertor.getColumnValues(MetricConvertor.java:333)
at oracle.dms.impl.producer.MBeanTreeletGenerator.queryMetricValues(MBeanTreeletGenerator.java:181)
at oracle.dms.reporter.TreeletReporter.printGetResponse(TreeletReporter.java:242)
at oracle.dms.reporter.TreeletReporter.printResponse(TreeletReporter.java:122)
at oracle.dms.impl.producer.Dumper._dump(Dumper.java:310)
at oracle.dms.impl.producer.Dumper.run(Dumper.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at oracle.dms.aggregator.DmsThreadFactory$1$1.run(DmsThreadFactory.java:56)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.dms.aggregator.DmsThreadFactory$1.run(DmsThreadFactory.java:51)
at java.lang.Thread.run(Thread.java:662)
]]Hi,
It's known issue - MBean attribute access denied
this issue can fixed by doing below changes (before make changes take backup of the file)
Search for dms_config.xml in
C:\OBI11g\user_projects\domains\bifoundation_domain\config\fmwconfig\servers\AdminServer
And
Change this entry:
<dump intervalSeconds="10800" maxSizeMBytes="75" enabled="true"/>
to:
<dump intervalSeconds="10800" maxSizeMBytes="75" enabled="false"/>
I restarted the BI services and could log in to the front end without any errors.
Refer: MOS note -[ID 1439413.1]
Thanks
Deva -
Curious Error - Portal System Delegator
Hello all,
Has anyone seen this error before?
Exception Message:
PortalSystemDelegator role does not exist.
It occurs when I click on the "Delegated Administration" link in Portal Admin.
Quite bizzar as this is a default portal role.
SYSTEM config:
Portal 8.1 SP4 W2K
Cluster 4 managed servers
DB SQLServer 2000Our 2 week long attempt to install WLP 814 in a production cluster has gone from bad to worse.
The steps in the previous post to export then import the LDAP data into the domain that's throwing the SystemDelagator exception worked on my desktop for a domain I installed via the long answers (seems to be a bug in Bea's install scripts for WLP).
For the production cluster, importing the exported LDAP data, now causes the following exception when just logging into the PortalAdmin. LOL!
Anyone see this or have helps?
tnx, curt
<Jul 5, 2005 3:48:44 PM EDT> <Error> <netuix> <BEA-423168> <An exception or error occurr ed in the backing file [com.bea.jsptools.usermgmt.backing.DelegatedAdminBackingUGM] whil e executing its init method. It was java.lang.NullPointerException java.lang.NullPointerException
at com.bea.p13n.entitlements.management.internal.RDBMSRolePolicyManager.getRoleP
olicyRefs(RDBMSRolePolicyManager.java:1497)
at com.bea.p13n.entitlements.management.RolePolicyManager.getRolePolicyRefs(Role
PolicyManager.java:460)
at com.bea.p13n.delegation.management.internal.DelegationRolePolicyDelegate.getP
olicyRefs(DelegationRolePolicyDelegate.java:484)
at com.bea.p13n.delegation.management.DelegationRoleManager.getPolicyRefs(Delega
tionRoleManager.java:758)
at com.bea.p13n.delegation.DelegationService.isAdminPolicyOnResourceRoot(Delegat
ionService.java:405)
at com.bea.jsptools.usermgmt.backing.DelegatedAdminBackingUGM.init(DelegatedAdmi
nBackingUGM.java:79)
at com.bea.netuix.servlets.controls.Backable$Impl.initializeBackingFile(Backable
.java:126)
at com.bea.netuix.servlets.controls.AdministeredBackableControl.init(Administere
dBackableControl.java:61)
at com.bea.netuix.servlets.controls.window.Window.init(Window.java:175)
at com.bea.netuix.servlets.controls.page.Page.init(Page.java:108)
at com.bea.netuix.nf.ControlLifecycle$5.visit(ControlLifecycle.java:88)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:298)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:308)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:127)
at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:204)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:153)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:321)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:184)
at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:767)
at com.bea.netuix.servlets.manager.PortalServlet.doGet(PortalServlet.java:671)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servlet
StubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:
419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.servlet.PortalSystemAdministratorFilter.doFilter(PortalSystemAdminist
ratorFilter.java:83)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:2
93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(We
bAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject
.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCon
text.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:
2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Maybe you are looking for
-
Issues with Installing CE 7.1, SCS Service
Hello, I have tried to install the CE 7.1, unfortunately the SCS service installation seems to run into an error each time. I have attached the log down below. Please advise, Rgs Boris CUT OUT ********* Aug 6, 2007 11:46:05 AM [Info]: Start external
-
Current Patch Set for Oracle Database Release 11.2
Hi I am upgrading oracle 10G to 11GR2 in AIX 5.3 Environment with SAP ECC6 , I have just just installled Oracle 11.2.0.1.0 according to the "Database Upgrade Guide -Upgrade to Oracle Database 11g Release 2 (11.2): UNIX". After database software insta
-
Apple Felt Us.. Thank You Heartedly (F)
Helo folks Apple made the ipad and released it with a side rotation lock switch, and it has been changed to a mute notifications after the 4.2 update, after this move, the apple discussions have been throw a ocean of posts complaining of this change,
-
Single table in Business model
Hello, Is it possible to have only one table in the business model. If I try to add just one table into my business model, I receive the following error during consistency check. I could find no help in documentation. BUSINESS MODEL test: [nQSError:
-
One Instance for Mutiple Databases
hi, its okay that there may be many instances in one DB, but my question is whether on Instance can be in different or more than one DB, if yes then HOW ?