ClassNotFoundException while calling start-up class in EAR
Hi,
I have a seemingly strange problem while executing a start-up class in my deployed
(exploded) EAR. As suggested in WebLogic docs, I'm using the weblogic-application.xml
to configure my startup class:
<weblogic-application>
<listener>
<listener-class>com.i2.srm.integration.utils.IntegServerStartupManager</listener-class>
</listener>
</weblogic-application>
When the start-up class is executed, it configures a listener class for some JMS
queues. But Weblogic JMS code cannot find the listener class, even though other
classes in the same jar & package are resolved (please see stack trace below).
Also, here is the dir structure of my application:
<application EAR dir>
/APP-INF
/lib
messaging-sb-client.jar
sourcingInteg.jar
/META-INF
application.xml
weblogic-application.xml
/messaging
/com/i2/srm/messaging/..
/META-INF
/test
/com/i2/srm/integration/test/..
/META-INF
Both the listener class & the class 'not found' are in the same jar file: sourcingInteg.jar.
Stack Trace :
weblogic.jms.common.JMSException: Error create server session pool
at weblogic.jms.backend.BackEnd.serverSessionPoolCreate(BackEnd.java:1733)
at weblogic.jms.backend.BackEnd.invoke(BackEnd.java:2863)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:609)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:153)
at weblogic.jms.frontend.FEConnection.serverSessionPoolCreate(FEConnection.java:906)
at weblogic.jms.frontend.FEConnection.invoke(FEConnection.java:1629)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:609)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:153)
at weblogic.jms.backend.BEServerSessionPoolFactory.createServerSessionPool(BEServerSessionPoolFactory.java:133)
at weblogic.jms.backend.BEServerSessionPoolFactory.getServerSessionPool(BEServerSessionPoolFactory.java:72)
at com.i2.srm.messaging.controllers.JmsHelper.setSessionPool(JmsHelper.java:97)
at com.i2.srm.messaging.controllers.ListenerManager.registerListener(ListenerManager.java:179)
at com.i2.srm.integration.messaging.SRMServerListenerManager.createQueues(SRMServerListenerManager.java:94)
at com.i2.srm.integration.messaging.SRMServerListenerManager.init(SRMServerListenerManager.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.i2.srm.rfc.utils.RWBaseServerStartupManager.invokeInit(RWBaseServerStartupManager.java:54)
at com.i2.srm.rfc.utils.RWBaseServerStartupManager.invokeAllStartups(RWBaseServerStartupManager.java:131)
at com.i2.srm.integration.utils.IntegServerStartupManager.postStart(IntegServerStartupManager.java:26)
at weblogic.j2ee.ListenerInvocationAction.run(ListenerInvocationAction.java:58)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.j2ee.J2EEApplicationContainer.notifySecureListener(J2EEApplicationContainer.java:4449)
at weblogic.j2ee.J2EEApplicationContainer.notify(J2EEApplicationContainer.java:4426)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2098)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2052)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2000)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3073)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1647)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:403)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:230)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:927)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:354)
at weblogic.Server.main(Server.java:32)
Caused by: weblogic.jms.common.ConfigurationException: Listener class, com.i2.srm.integration.messaging.IntegMessageListener,
not found
at weblogic.jms.backend.BEServerSessionPool.setListener(BEServerSessionPool.java:283)
at weblogic.jms.backend.BEServerSessionPool.initialize(BEServerSessionPool.java:220)
at weblogic.jms.backend.BEServerSessionPool.<init>(BEServerSessionPool.java:130)
at weblogic.jms.backend.BackEnd$4.run(BackEnd.java:1713)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)
at weblogic.jms.backend.BackEnd.serverSessionPoolCreate(BackEnd.java:1709)
... 36 more
Any clues are appreciated!
Thanks in advance,
- Gagan
Avi, I was just waiting for the "servlet hack".
I really prefer the application client way, much cleaner, no servlet container needed, and could be tested outside the container.
--olaf
Similar Messages
-
Error while calling badi using class cl_exithandler with getInstance
hi experts...we are using SAP ECC 6.0 version
I have created BADI Def and Implementation using se18 and se19 with some interface methods..
Problem:
I'm writing a report to call that using class CL_EXITHANDLER but it shows an Exception..
" Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised."
Report example:
DATA: CL_EXIT TYPE REF TO CL_EXITHANDLER,
IF_USER_INSTANCE TYPE REF TO ZIF_EX_USER_MAILID1.
CALL METHOD cl_exithandler=>get_instance
EXPORTING
EXIT_NAME = 'ZBADI_USERMAIL_DEF'
* NULL_INSTANCE_ACCEPTED = SEEX_FALSE
* IMPORTING
* ACT_IMP_EXISTING =
CHANGING
instance = IF_USER_INSTANCE
* EXCEPTIONS
* NO_REFERENCE = 1
* NO_INTERFACE_REFERENCE = 2
* NO_EXIT_INTERFACE = 3
* CLASS_NOT_IMPLEMENT_INTERFACE = 4
* SINGLE_EXIT_MULTIPLY_ACTIVE = 5
* CAST_ERROR = 6
* EXIT_NOT_EXISTING = 7
* DATA_INCONS_IN_EXIT_MANAGEM = 8
* others = 9
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
so i found that all EXITs are in the Table " SXS_ATTR"
but what i have created BADI has not exist in that Table so that it gets an Exception(while i'm debugging found this)
so kindly tel me whats problem my BADI "ZBADI_USERMAIL_DEF" not maintained that Database table
but in Implentation class its working fine..yes i have created badi in Enhancement spot so regarding what u told i'm using GET BADI and CALL BADI
DATA:W_HANDLE TYPE REF TO ZBADI_USERMAIL_DEF.
GET BADI W_HANDLE.
CALL BADI w_handle->get_user_mailid
EXPORTING
uname = UNAME
changing
mailid = W_EMAIL
WRITE: / 'UNAME:',UNAME.
WRITE: / 'EMAIL ID',W_EMAIL.
CALL BADI w_handle->get_user_address_data
EXPORTING
uname = UNAME
changing
addrdata = W_ADDRDATA
IF W_ADDRDATA IS NOT INITIAL.
WRITE: / W_ADDRDATA-BNAME,W_ADDRDATA-NAME1,W_ADDRDATA-NAME2,W_ADDRDATA-TELPR,W_ADDRDATA-TELNR,W_ADDRDATA-TEL01.
ENDIF.
but here BADI are not called
Interface implementation class methods not executed so kindly tel me whats problem here.
Thanks in Advance
sivakumar -
Java.lang.NoClassDefFoundError while calling a java class from BPEL
Hi,
I'm calling a java class to convert JSON to XML using BPEL. I have imported all the necessary jar files in the project and compiling done successfully.
But at runtime , i get the java.lang.NoClassDefFoundError: net/sf/json/JSON error.
For this i placed all the necessary jars under FUSION_HOME/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1/ path and restarted the server.
But still i'm getting the same error at runtime.
Did i missed any step? Let me know the procedure to solve this.
Do i have to run ant or edit Manifest file after placing the jar?
in one site i find we have to place the jars under <DOMAIN HOME>/lib directory. Is this correct?
We are using SOA suite 11.1.1.6.
Thanks,
TerryHi Karan,
I have done placing the jars at FUSION_HOME/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1/ and ran ant -f build.xml .The build was successful without any error.
I have even placed the jars in <DOMAIN HOME>/lib (/us2001/fmw/11.1.1.6/user_projects/domains/ohsdomain/lib) and did a server restart.
After these activities, when i execute the composite, i still get the error in em console,
Message
got RuntimeException
Supplemental Detail
oracle.fabric.common.FabricException: Could not create object of class 'packageName.className'; nested exception is:
java.lang.NoClassDefFoundError: net/sf/json/JSON
at oracle.integration.platform.blocks.wsif.WsifReference.request(WsifReference.java:698)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
Any help on this.
Thanks,
Terry -
Error while calling a super class public method in the subclass constructor
Hi ,
I have code like this:
CLASS gacl_applog DEFINITION ABSTRACT.
PUBLIC SECTION.
METHODS:
create_new_a
IMPORTING pf_obj TYPE balobj_d
pf_subobj TYPE balsubobj
pf_extnumber TYPE string
EXPORTING pfx_log_hndl TYPE balloghndl
EXCEPTIONS error
ENDCLASS.
CLASS gacl_applog IMPLEMENTATION.
METHOD create_new_a.
DATA: ls_log TYPE bal_s_log.
Header aufsetzen
MOVE pf_extnumber TO ls_log-extnumber.
ls_log-object = pf_obj.
ls_log-subobject = pf_subobj.
ls_log-aluser = sy-uname.
ls_log-alprog = sy-repid.
ls_log-aldate = sy-datum.
ls_log-altime = sy-uzeit.
ls_log-aldate_del = ls_log-aldate + 1.
CALL FUNCTION 'BAL_LOG_CREATE'
EXPORTING
i_s_log = ls_log
IMPORTING
e_log_handle = pfx_log_hndl
EXCEPTIONS
OTHERS = 1.
IF ( sy-subrc NE 0 ).
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING error.
ENDIF.
ENDMETHOD.
CLASS gcl_applog_temp DEFINITION INHERITING FROM gacl_applog.
PUBLIC SECTION.
DATA: log_hndl TYPE balloghndl READ-ONLY
, t_log_hndl TYPE bal_t_logh READ-ONLY
METHODS: constructor
IMPORTING pf_obj TYPE balobj_d
pf_subobj TYPE balsubobj
pf_extnumber TYPE string
EXCEPTIONS error
, msg_add REDEFINITION
, display REDEFINITION
ENDCLASS.
CLASS gcl_applog_temp IMPLEMENTATION.
METHOD constructor.
CALL METHOD create_new_a
EXPORTING pf_obj = pf_obj
pf_subobj = pf_subobj
pf_extnumber = pf_extnumber
IMPORTING pfx_log_hndl = log_hndl.
IF ( sy-subrc NE 0 ).
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING error.
ENDIF.
ENDMETHOD.
A public method of Super class has been called from the constructor of the sub class. we are getting the syntax error :
' In the constructor method, you can only access instance attributes, instance methods, or "ME" after calling the constructor of the superclass '
Can you please suggest how to change the code with out affecting the functioanlity.
Thank you ,
Lakshmi.Hi,
Call that method by instance of Subclass. OR
SUPER-->method.
Read very useful document
Constructors
Constructors are special methods that cannot be called using CALL METHOD. Instead, they are called automatically by the system to set the starting state of a new object or class. There are two types of constructors - instance constructors and static constructors. Constructors are methods with a predefined name. To use them, you must declare them explicitly in the class.
The instance constructor of a class is the predefined instance method CONSTRUCTOR. You declare it in the public section as follows:
METHODS CONSTRUCTOR
IMPORTING.. [VALUE(]<ii>[)] TYPE type [OPTIONAL]..
EXCEPTIONS.. <ei>.
and implement it in the implementation section like any other method. The system calls the instance constructor once for each instance of the class, directly after the object has been created in the CREATE OBJECT statement. You can pass the input parameters of the instance constructor and handle its exceptions using the EXPORTING and EXCEPTIONS additions in the CREATE OBJECT statement.
The static constructor of a class is the predefined static method CLASS_CONSTRUCTOR. You declare it in the public section as follows:
CLASS-METHODS CLASS_CONSTRUCTOR.
and implement it in the implementation section like any other method. The static constructor has no parameters. The system calls the static constructor once for each class, before the class is accessed for the first time. The static constructor cannot therefore access the components of its own class.
Pls. reward if useful.... -
Getting ExceptionInInitializerError while calling a java class from db
Hi,
I have a class file working fine outside db. When I load that through loadjava and call it through pl/sql function, I get ExceptionInInitializerError.
Do you have any idea why this happens?
I am trying to login into a third party server in this class file. The error is caught at the statement I am sending the username/password and host name.
thanks,
SetarehSetareh,
Here is an excerpt from the javadoc for ExceptionInInitializer:
Signals that an unexpected exception has occurred in a static initializer
or the initializer for a static variable.
Before running your function in SQL*Plus, do the following:
set serveroutput on size 1000000
exec DBMS_JAVA.SET_OUTPUT(1000000)Then you may get more information. If you don't then you may find more details in the Oracle log files in the "bdump" destination. The following query will tell you where that is:
select VALUE
from V$PARAMETER
where NAME = 'background_dump_dest'Then, if you are still having trouble, post the entire error message and stack trace, as well as your java code.
Good Luck,
Avi. -
WebLogic Class not found Exception while calling XA-APIs
Hi,
Any oone have any information about the following exception I get while calling xa-apis while using Oracle 8.1.7 thin jdbc driver.
Thanks - Sanjay
** 2001-01-25 18:13:08.989
*** SESSION ID:(24.98) 2001-01-25 18:13:08.977
java.lang.ClassNotFoundException: weblogic.transaction.internal.XidImpl
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at
oracle.jdbc.xa.server.OracleWrapXAResource.deserializeObject(OracleWrapX
AResource.java)
at
oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
va)
java.lang.NullPointerException
at
oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
va)
Hi Sanjay and Vel,
We have been running internal test suites using the Oracle 8.1.7 thin driver,
and did not run into this problem. I suspect this may be related to the database
setup or environment. We would also like to understand why it happens. I would
suggest either of you to report this problem to Oracle support and see whether
they could shed some light on this.
-- Priscilla Fung, BEA Systems, Inc.
"Vel" <[email protected]> wrote:
>
>Hello Sanjay.
>I'm having the same problem.
>Did u find why that happened? If yes, pls let me know.
>Thanks in advance.
>Vel
>"Sanjay" <[email protected]> wrote:
>>
>>Hi,
>>Any oone have any information about the following exception I get while
>>calling xa-apis while using Oracle 8.1.7 thin jdbc driver.
>>Thanks - Sanjay
>>
>>** 2001-01-25 18:13:08.989
>>*** SESSION ID:(24.98) 2001-01-25 18:13:08.977
>>java.lang.ClassNotFoundException: weblogic.transaction.internal.XidImpl
>> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
>> at
>>oracle.jdbc.xa.server.OracleWrapXAResource.deserializeObject(OracleWrapX
>>AResource.java)
>> at
>>oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
>>va)
>>java.lang.NullPointerException
>> at
>>oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
>>va)
>>
>
-
Error while calling class in report
Hi All.
Iam calling a customizes class in the report program.
I have declared data based on class type, even though getting error like The type of "V_OBJEK" cannot be converted to the type of "V_TPLNR".
eg:
I need to pass value from ausp-objek to v_tplnr ( type is TPLNR ) both are diffrent data type .
so create a filed as v_objek ( type char30 ).
Now pasing value from ausp-objek to v_objek variable.
v_objek = ausp-objek
then moving values from v_objek to v_tplnr .here getting error.
Could you help me to resolve this doubts.
Regards.
Ram.hi ,
when values passing from ausp-objek to STRING field .
ausp-objek have length 50 and string type does not have fixed length so it accepts those fixed length value
where as in case of string to fixed length it will accept only character upto its fixed length
can you tell me what value you are passing from string to Fixed charater .
Regards
Deepak. -
Error while calling /forms/frmservlet
Hello all,
After a fresh installation of Weblogic/Oracle Fusion Middleware 11g , I get the following error in the java console while calling the forms/frmservlet : http://test.corp:8090/forms/frmservlet
Java Plug-in 1.6.0_18
Verwendung der JRE-Version 1.6.0_18-b07 Java HotSpot(TM) Client VM
Home-Verzeichnis des Benutzers = C:\Documents and Settings\user
c: Konsole löschen
f: Objekte in Finalisierungswarteschlange finalisieren
g: Speicherbereinigung
h: Diese Hilfemeldung anzeigen
l: ClassLoader-Liste ausgeben
m: Speicherbelegung anzeigen
o: Protokollierung auslösen
q: Konsole ausblenden
r: Richtlinien-Konfiguration neu laden
s: System- und Bereitstellungseigenschaften ausgeben
t: Threadliste ausgeben
v: Thread-Stack ausgeben
x: ClassLoader-Cache löschen
0-5: Trace-Stufe auf <n> setzen
basic: Fortschritts-Listener hinzugefügt: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1808199
network: Cache-Eintrag nicht gefunden [url: http://test.corp:8090/forms/java/frmall.jar, Version: null]
network: Verbindung von http://test.corp:8090/forms/java/frmall.jar mit Proxy=DIRECT wird hergestellt
network: Verbindung von http://test.corp:8090/ mit Proxy=DIRECT wird hergestellt
java.io.FileNotFoundException: http://test.corp:8090/forms/java/frmall.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
network: Cache-Eintrag nicht gefunden [url: http://test.corp:8090/forms/java/frmall.jar, Version: null]
network: Verbindung von http://test.corp:8090/forms/java/frmall.jar mit Proxy=DIRECT wird hergestellt
network: Cache-Eintrag nicht gefunden [url: http://test.corp:8090/forms/java/oracle/forms/engine/Main.class, Version: null]
network: Verbindung von http://test.corp:8090/forms/java/oracle/forms/engine/Main.class mit Proxy=DIRECT wird hergestellt
network: Cache-Eintrag nicht gefunden [url: http://test.corp:8090/forms/java/oracle/forms/engine/Main.class, Version: null]
network: Verbindung von http://test.corp:8090/forms/java/oracle/forms/engine/Main.class mit Proxy=DIRECT wird hergestellt
basic: Laden: Klasse oracle.forms.engine.Main nicht gefunden
Laden: Klasse oracle.forms.engine.Main nicht gefunden
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://test.corp:8090/forms/java/oracle/forms/engine/Main.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Ausnahme: java.lang.ClassNotFoundException: oracle.forms.engine.Main
My configuration is the following :
- HP ProLiant DL360 G7 (64GB)
- RHEL 5.5 64-Bit
- jdk-6u22-linux-x64 (used during the installation)
- Oracle Weblogic 1.0.3.3 64 Bit (wls1033_generic.jar)
- Oracle Fusion Middleware 11.1.1.3 64 Bit
That's really strange I had no trouble during the installation process, my problem is when I call the forms,
then I get the error described before.
Did someone , maybe had this problem ? and where could I start to investigate ?
Best regards
Franeone more things that I have seen , which is a bit strange.
when I try to access directly the jar like :
http://test.corp:8090/forms/java/frmall.jar
I get the following message in the browser :
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address
Usually on my other installations I can access the jar file directly wihout error. -
Hi All,
I am getting this below error ever 10 min on JBoss server, LCES SP1.
SEVERE: Exception thrown while calling back a DSC componentcom/adobe/edc/policy/APSDocumentServicesManagerHome
2012-04-20 05:54:41,908 INFO [org.quartz.core.JobRunShell] Job APS_PRINCIPALKEY_REKEY_JOB_GRP.APS_PRINCIPALKEY_REKEY_JOB threw a JobExecutionException:
org.quartz.JobExecutionException: java.lang.Exception: java.lang.IllegalStateException [See nested exception: java.lang.Exception: java.lang.IllegalStateException]
at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:102)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Any idea about this error ??
I refered this post but no luck --
http://forums.adobe.com/message/4353924#4353924
Any pointers to solve this issue ?????
Regards --
Chalukya.Hi Neerav,
Thanks a lot for your reply ...
Please find the server log file at -
https://www.dropbox.com/s/ugc5zdavbobxj28/server.log
Here is the complete error part in server log file -
2012-08-03 03:03:21,764 INFO [com.adobe.idp.scheduler.jobstore.DSCJobStoreTX] Removed 0 stale fired job entries.
2012-08-03 03:03:21,764 INFO [org.quartz.core.QuartzScheduler] Scheduler IDPSchedulerService_$_20 started.
2012-08-03 03:03:21,795 INFO [com.adobe.idp.dsc.impl.DSCManagerImpl] Started services which need post-dsc-initialization (Scheduler, docmanager purge) successfully
2012-08-03 03:03:21,795 INFO [com.adobe.idp.dsc.impl.DSCManagerImpl] Core Components started successfully
2012-08-03 03:03:21,905 INFO [com.adobe.idp.dsc.startup.DSCStartupServlet] Install and start of components complete. Now starting core asynchronous services ...
2012-08-03 03:03:22,076 ERROR [STDERR] Aug 3, 2012 3:03:22 AM com.adobe.idp.scheduler.callback.ServiceCallbackHandler execute
SEVERE: Exception thrown while calling back a DSC componentcom/adobe/edc/policy/APSDocumentServicesManagerHome
2012-08-03 03:03:22,092 INFO [org.quartz.core.JobRunShell] Job APS_PRINCIPALKEY_REKEY_JOB_GRP.APS_PRINCIPALKEY_REKEY_JOB threw a JobExecutionException:
org.quartz.JobExecutionException: java.lang.Exception: java.lang.IllegalStateException [See nested exception: java.lang.Exception: java.lang.IllegalStateException]
at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:102)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: java.lang.Exception: java.lang.IllegalStateException
at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:101)
... 2 more
Caused by: java.lang.IllegalStateException
at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(ServiceClientFactory.j ava:69)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:220)
at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:87)
... 2 more
Caused by: java.lang.NoClassDefFoundError: com/adobe/edc/policy/APSDocumentServicesManagerHome
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at org.apache.commons.beanutils.MappedPropertyDescriptor$1.run(MappedPropertyDescriptor.java :342)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.beanutils.MappedPropertyDescriptor.getPublicDeclaredMethods(MappedProp ertyDescriptor.java:337)
at org.apache.commons.beanutils.MappedPropertyDescriptor.internalFindMethod(MappedPropertyDe scriptor.java:426)
at org.apache.commons.beanutils.MappedPropertyDescriptor.findMethod(MappedPropertyDescriptor .java:500)
at org.apache.commons.beanutils.MappedPropertyDescriptor.<init>(MappedPropertyDescriptor.jav a:103)
at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.ja va:822)
at org.apache.commons.beanutils.PropertyUtilsBean.isWriteable(PropertyUtilsBean.java:1235)
at org.apache.commons.beanutils.PropertyUtils.isWriteable(PropertyUtils.java:456)
at com.adobe.idp.dsc.component.impl.DefaultPOJOServiceInstanceFactory.createInstance(Default POJOServiceInstanceFactory.java:132)
at com.adobe.idp.dsc.invocation.impl.InstancePerRequestStrategy.getInstance(InstancePerReque stStrategy.java:56)
at com.adobe.idp.dsc.invocation.impl.InstanceAccessorFactory.getInstanceForInvocation(Instan ceAccessorFactory.java:55)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.allocateInstance(Invocat ionStrategyInterceptor.java:91)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:54)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
... 3 more
Caused by: java.lang.ClassNotFoundException: IDPSchedulerService_Worker-1Class name com.adobe.edc.policy.APSDocumentServicesManagerHome from package com.adobe.edc.policy not found.
at com.adobe.idp.dsc.DSContainerSearchPolicy.searchClassUsingParentFirst(DSContainerSearchPo licy.java:245)
at com.adobe.idp.dsc.DSContainerSearchPolicy.findClass(DSContainerSearchPolicy.java:198)
at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 33 more
Thanks --
Chalukya -
Error while calling WebService inside ISchedulerTask.
Hi,
Env: NW 2004s
I have a requirement of calling webservice frequently. I developed a portal project with scheduler, where the application gives a runtime error while calling/reading the property file (which is generated during the webservice proxy generation, without it webservice call is impossible).
I have varified the ear file which contains all the required class files and config files including property file.
fyi:
portalapp.xml file looks like this.
+
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
</application-config>
<components/>
<services>
<service name="RFServiceWrapper">
<service-config>
<property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
<property name="startup" value="true"/>
</service-config>
</service>
</services>
</application>
+
Any input will be highly appreciated.
Thanks,
VinodFollowing is the error message:
msg1:
at <package>.AFFERAAFWSServiceImpl.<init>(AFFERAAFWSServiceImpl.java:10)
msg2:
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ServiceBase.loadProtocolsFromPropertyFile(ServiceBase.java:238)
Reporting from Logs and Traces.
Error Located @ following code inside AFFERAAFWSServiceImpl.java, which is a proxy class generated using apache axis
input = this.getClass().getClassLoader().getResourceAsStream("<package>/protocols.txt");
loadProtocolsFromPropertyFile(input);
protocols.txt is another config file generated along with AFFERAAFWSServiceImpl.java, which is been used @ run time.
FYI: All these files are present on ear file. -
Lifecycle functionality for startup class at ear level
Hi,
I've searched and searched and read through a great deal of the R3 (10.1.3)documentation, looking for the ability to initialize a thread/class at application startup time at the ear level. I see where it is documented how to initialize a servlet at application startup using the "load-on-startup" tag, however, I have been unable to find any documentation outlining how to do so at the ear/EJB container level.
Is my only option to put together a servlet that calls/starts my ejb level class/thread and then configure that servlet for "load-on-startup"?Lest you thought nobody has looked at your post, here I am, with a negative answer though. I do not think there is a lifecycle functionality for startup/shutdown class at ear level in oc4j. There are startup/shutdown classes that are called after OC4J initializes or before OC4J terminates, which is not what you are looking for either.
-
QName error while calling a web service from Sourcing
I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
The same jar and same code works fine when called from a standalone java program.
I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
Can anyone please help me out in figuring out what is the issue?This is the stack trace of the error:
#2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
#BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
at $Proxy2539.grantOrganizationRoles(Unknown Source)
I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response -
Error while calling utl_dbws.create_service
hi,
i get following error
"ORA-29541: class SYS.oracle/jpub/runtime/dbws/DbwsProxy could not be resolved"
while calling a webservice from utl_dbws.create_service
Can any on help me.
kiranDone That,
Thanx a ton Dave, it worked.
So I am finally moving on :-)
Just one question Dave, I happened to work on the Beta release of this version too, the problem was not there. How come we have been able to get it in dev preview. -
Getting Error:Failed to open the connection while calling crystal report
I am getting the below error while calling the crystal report from dot net app. I am using OLEDB to connect to database. It is working perfectly in our DEV environment but as soon as I move it to production information after changing the logon information in the report it start giving the below error.
Failed to open the connection.C:\WINDOWS\TEMP{C2FD97D9-2ADE-41BB-88FF-23A4DF20BC6F}.rpt
Details: [Database Vendor Code: 17 ]Are you able to connect to the database from the production machine using a UDL file?
If you haven't tried this, here's how to do it. Take these steps on the machine that is hosting the application. Create a new text file on the desktop. Change the file extension to ".udl" (without the quotes). Double-click on this to bring up the OLEDB connection test: start on the Provider tab and select the appropriate provider. Click "Next" and on the following tab enter your connection information. Click the "Test Connection" button to test the connection. Does it connect to the database successfully?
If you click on "OK" to close the dialog and then open the UDL file with Notepad, you should see an OLEDB connection string. In this string should be the same property values for server, database, user id and password which you are providing through your application. If they are not the same, modify your application to use these values.
If testing your connection information with the UDL file works but your application is still failing when using the same credentials, try profiling or tracing the database. Do you see connection attempts from the application? Are there any errors?
If you're impersonating, have you set up windows authentication correctly for both the application and the database? -
An internal error occurred while calling 'submitReport' API. (Error: ERR_WI
An internal error occurred while calling 'submitReport' API. (Error: ERR_WIS_30270)
We get above mentioned error message at any point in WebI Rich Client.
DataSource: Teradata 12.0 (Local machine)
BO XI 3.1 Client installed on local machine
Universe (Secured connection)
WebI : desiging and creating in Standlone mode
WebI client version : 12.1.0.882
Many times above written error is thrown 2-3 times even when we click on OK button and lastly followed by new error message:-
Unable to get the first page of the current report - Web Intelligence will switch to structure view (WIJ 20003).
Flow: We create report based on locally saved universe. There are couple of scenarios for which error comes
1) After successfully saving the report, reopen and refresh causes this error (1st error and 2nd)
2) Droping a properly written variable on measure column, if done Ctrl + Z, report works sometimes (both or 2nd error message)
3) Draging out the mesaure or dimension from report (only 2nd error)
Report is simple and no other stuff except the cross tab table
Even if we start with simply dropping the dimension and measures on report, 2nd error comes at any time.
What we noticed is that if we do all desiging in structure mode and then run instead of in result mode, reports works for more time.You can have a look here:
Input Controls with Break Error on webi report
http://www.forumtopics.com/busobj/viewtopic.php?t=60789&postdays=0&postorder=asc&start=45
Re: internal error occurred while calling the 'submitReport' API.
I'm Back
HAPPY NEW YEAR
Maybe you are looking for
-
All of a sudden (I think after the last firefox update) links in other web pages won't open firefox to access the page when firefox is my default browser but works when I change my default browser to Internet Explorer and I can't figure out why. Help
-
Byte addition in java....problem!
Hello: I am trying to calculate the 16bit checksum for an array of bytes that I have.....for some reason it doesnt work, the same code works just fine in C and C++......i am sure this has to do with the representation of data in java......any comment
-
Updated 3gs to ios6 cannot activate the phone "server unavailable"
Hi I have update my iphone 3gs to iOS 6 and when i went through activatin process i get error message " activation server temperoarly unavailable " the phone was working fine before the update to IOS6 . can any one plz..plz..plz... help wil b very g
-
Activate WF for incoming post item Records Management
Hi. Could anyone tell me the steps to activate Workflow for incoming post item (Records Managemet). I'm traying with this Standard Task TS78800015 TS78800013 Regards
-
i just want to know which is correct? windows 10.2.0.4 two node rac SCHEMA(ondemandlogs) i had a TABLE(OS_ONDEMAND_LOGS).i just want to know that table indexes i have queried them the out put is as follows can you pls conform me how many indexes for