Exception thrown when start OC4J
Sometimes, I got the folloowing exceptions when I started OC4J.
Exception Description: Several [9] SessionLoaderExceptions were thrown:
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac
le.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> f
ile [config/toplink.xml].
Internal Exception: Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4.7) (Bu
ild 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [applyAmendment
Method], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: Exception [TOPLINK-165] (OracleAS TopLink - 10g (9.
0.4.7) (Build 050405)): oracle.toplink.exceptions.DescriptorException
Exception Description: This descriptor's amendment method triggered an exception
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:
Descriptor: Descriptor(com.celeres.pago.valueobject.royalties.RoyaltyRate --> [D
atabaseTable(ROYALTY_RATES)])
Descriptor: XMLDescriptor(oracle.toplink.publicinterface.Descriptor --> [Databas
eTable(descriptor)])
at oracle.toplink.exceptions.SessionLoaderException.finalException(Sessi
onLoaderException.java:89)
at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(XMLLoader.ja
va:156)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Sess
ionManager.java:219)
at org.springframework.orm.toplink.LocalSessionFactory.loadDatabaseSessi
on(LocalSessionFactory.java:320)
at org.springframework.orm.toplink.LocalSessionFactory.createSessionFact
ory(LocalSessionFactory.java:258)
at org.springframework.orm.toplink.LocalSessionFactoryBean.afterProperti
esSet(LocalSessionFactoryBean.java:51)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:937)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:334)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:146)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:707)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:316)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:146)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:176)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:891)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:707)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:316)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:146)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:310)
at org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:133)
at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
at com.celeres.pago.presentation.servlet.SpringContainerLoaderListener.c
ontextInitialized(SpringContainerLoaderListener.java:33)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:668)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
435)
at com.evermind.server.Application.getHttpApplication(Application.java:6
95)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:676)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:528)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:231)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:247)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:150)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServe
r.java:1959)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.jav
a:1294)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLa
uncher.java:93)
at java.lang.Thread.run(Thread.java:534)
SessionLoaderExceptions:
Target Invocation Exception: java.lang.Error: Unresolved compilation problem:Looks like your VM is throwing the following Error. Most likely you have not compiled your classes correctly, possibly the class that defines your Mapping Workbench amendment methods. If the print the stack trace on one of the exceptions nested in the SessionLoaderException, it would probably show the class with issues in the caused by stack.
Similar Messages
-
Error message when starting OC4J after deploying
Hi, I hope someone can help me. I've been developing a J2EE project in JBuilder9 and OC4J 9.0.3. The problem occurs when starting OC4J after the application has been deployed. I'm using two MDBs and two Session Beans, one Stateless and the other one stateful. I'm using two topics with OJMS. I can access these topics from a standalone application, but when I try to lookup JNDI names from inside EJBs, I get a NamingException (name not found) Please I need some help
OC4J error:
D:\oc4j\j2ee\home>java -jar oc4j.jar
Node started with id=678845146
Error deploying file:/D:/oc4j/j2ee/home/applications/LogicaNegocio/LogicaNegocio
.jar homes: Topic has empty subscription name
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
Error when executing standalone application client using EJBs:
javax.naming.NameNotFoundException: No resource named 'TopicConnecionFactories/TablaTopics' found in resource provider 'BeanProcesamientoMensajes'
This error doesn't appear when looking up that topic with a standalone application w/o using EJBs
Thanks in advance.make sure the datasource.xml in the config directory is right
for example
<data-source
class="com.evermind.sql.OrionCMTDataSource"
name="OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="TopicConnecionFactories/TablaTopics"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="xx"
password="xx"
url="jdbc:oracle:thin:@172.16.113.2:1521:orcl"
inactivity-timeout="90"
/> -
Problems when starting OC4J J2EE 10.1.3 standalone container
Hi,
For month's now my OC4J standalone container functioned without any problems..
Suddenly, it does not start anymore and I'm getting the following error:
Starting OC4J from c:\oracle\oc4j_1013\j2ee\home ...
2006-07-19 21:45:23.046 ERROR Failed to set the internal configuration of the OC
4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/oc4j_1013/j2ee/home/confi
g/jms.xml]
06/07/19 21:45:23 *** (SEVERE) Failed to set the internal configuration of the O
C4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/oc4j_1013/j2ee/home/conf
ig/jms.xml]
2006-07-19 21:45:23.062 ERROR J2EE OJR0011 Exception starting JMS server: Failed
to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
ig[file:/C:/oracle/oc4j_1013/j2ee/home/config/jms.xml]
2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
/store not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
/eventQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
/notificationQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.218 WARNING J2EE JNDI0001 Resource Environment reference jms
/eventQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.218 WARNING J2EE JNDI0001 Resource Environment reference jms
/notificationQueue not found. Allowing J2EEContext creation to continue anyway.
2006-07-19 21:45:25.218 ERROR J2EE EJB3027 [default] An error occured deploying
EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
r MessageDrivenBean event during endpoint activation: failure looking up Connect
ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
NotFoundException: jms/XAQueueConnectionFactory not found
06/07/19 21:45:25 WARNING: Application.setConfig Application: default is in fail
ed state as initialization failedjava.lang.InstantiationException: Error initial
izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
eueConnectionFactory not found
Jul 19, 2006 9:45:25 PM com.evermind.server.Application setConfig
WARNING: Application: default is in failed state as initialization failedjava.la
ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
.ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
2006-07-19 21:45:25.250 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
flow.MessageEndpointFactoryImpl@159d450.
06/07/19 21:45:25 Error initializing server: Error initializing ejb-modules: Res
ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
ot found
2006-07-19 21:45:26.093 WARNING J2EE JTA RecoveryManager is null during shut
down
06/07/19 21:45:26 Fatal error: server exiting
The version of the OC4J J2EE container is:
Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277)
Does anyone has any suggestions why this error happens, I did not changes anything in my installation and also did not deploy any new apps
Thanks for your helpI still have this problem when I try to login to the EM:
This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance home on Application Server assoa.locahost is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
Can you help me here? -
Exception Thrown When a Scheduled Task Runs for Many Hours
In the Oracle documentation here (http://download.oracle.com/docs/cd/E10391_01/doc.910/e10367/toc.htm#CACGBDAD) it states that the below exception can get thrown when a scheduled task runs for many hours (on OAS) and can be ignored:
Primary Server went down going to get a fresh object elsewhere in the cluster.
com.evermind.server.rmi.RMIConnectionException: LRU connection
Just want to find out from other users that get this error (If there is any), have you found the scheduled task actually completes, then the error is thrown or what?
I just don't feel comfortable that one of our tasks is completing properly due to this exception occuring and causing the task to stop midway through processing...Hi,
I've had trouble with scheduling PowerShell scripts in the past as well. You can try running your script in the SYSTEM context by launching a cmd prompt this way, just to verify that the issue isn't related to the account itself:
http://myitforum.com/cs2/blogs/jmarcum/archive/2010/08/25/150872.aspx
This method does require PSExec, there's a link to the tool in the post if you don't already have it on hand.
You can also start PowerShell as SYSTEM and play around if you need to:
http://blogs.technet.com/b/ben_parker/archive/2010/10/28/how-do-i-run-powershell-exe-command-prompt-as-the-localsystem-account-on-windows-7.aspx?Redirected=true
Not the best answer, but hopefully it helps shed a little light on the issue.
Good luck.
Don't retire TechNet! -
(Don't give up yet - 12,575+ strong and growing) -
Error message when starting OC4J in JDeveloper 10.1.3.1
Hello,
I am new to Java Server Pages and OC4J. When I try to run a simple JSP page in JDeveloper 10.1.3.1, I get the following error message (edited):
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
...\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
[waiting for the server to complete its initialization...]
Error parsing internal-settings.xml: server-extension-provider class 'oracle.j2ee.ws.server.mgmt.runtime.InterceptorContainerExtension' not found
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.j2ee.ws.server.codegen.ServerArtifactGenerator
Depending class: com.evermind.server.ejb.compilation.Compilation
Loader: oc4j:10.1.3
Code-Source: ./j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar
Diese Load wurde um system.root:0.0.0 mit der Methode Class.forName() eingeleitet.
Die fehlende Klasse ist in keiner Code-Source oder keinem Loader in dem System verfügbar.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [./j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at com.evermind.server.ejb.compilation.Compilation.generateWebServiceRefs (Compilation.java:1541) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.compilation.Compilation.compile (Compilation.java:189) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.compilation.Compilation.doGenerateCode (Compilation.java:264) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:898) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationStateRunning.initializeApplication (ApplicationStateRunning.java:217) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:413) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.Application.setConfig (Application.java:314) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeSystemApplication (ApplicationServer.java:1557) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications (ApplicationServer.java:1544) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:974) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:131) [./j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in .\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]
Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
Any idea, what's wrong with my configuration?
Thanks,
WolfgangTested JSP page in JDeveloper 10.1.3.1; JSP page does not generate an error.
Reinstall JDeveloper. -
I downloaded oc4j 10.1.3 and set the ORACLE_HOME. When i start the using the command oc4j -start i get the following error. Pls help
C:\OC4J>oc4j -start
Starting OC4J from C:\OC4J\j2ee\home ...
OC4J startup failed
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.j2ee.ws.common.mgmt.Interceptor
Dependent class: oracle.security.wss.interceptors.AbstractSecurityInterc
eptor
Loader: oracle.ws.security:10.1.3
Code-Source: /C:/OC4J/webservices/lib/wssecurity.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/
boot.xml in C:\OC4J\j2ee\home\oc4j.jar
The missing class is available from the following locations:
1. Code-Source: /C:/OC4J/webservices/lib/wsclient.jar (from system prope
rty java.library.path)
This code-source is available in loader jre.bootstrap:1.5.0_14.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.ja
va:2264)
at oracle.classloader.PolicyClassLoader.bulkLoadClasses(PolicyClassLoade
r.java:1538)
at oracle.classloader.util.XMLConfiguration.bulkLoadClasses(XMLConfigura
tion.java:885)
at oracle.classloader.util.XMLConfiguration.access$100(XMLConfiguration.
java:41)
at oracle.classloader.util.XMLConfiguration$Externals.load(XMLConfigurat
ion.java:871)
at oracle.classloader.util.XMLConfiguration.endElement(XMLConfiguration.
java:685)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfigur
ation.java:277)
at oracle.classloader.util.InitialLoadersFactory.populateLoaders(Initial
LoadersFactory.java:389)
at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoad
ersFactory.java:230)
at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFa
ctory.java:167)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:26)
C:\OC4J>Hi Geoff,
As far as I know, there is no "OC4J 1.3 Developer's Preview" version;
there is a "9.0.3 Developer's Preview Version". However, I would suggest
using the "9.0.2 Production Version" (also available for download from the Technet web site: http://technet.oracle.com)
Also, you need to be using JDK 1.3.1 with that version of OC4J.
You can find information on how to run OC4J in "debug" mode from the
Atlassian web site:
http://www.atlassian.com
and on the OrionSupport web site:
http://www.orionsupport.com
You can also try using the "verbosity" flag, as in:
java -jar oc4j.jar -verbosity 10
(10 is the highest value for "verbosity")
Good Luck,
Avi. -
Exception thrown when trying to create MimeMessage
Hello,
I was working on the tutorial for sending SMTP messages using the JavaMail API. I set up the Session using Properties fine, but I begin throwing exceptions when trying to construct a new MimeMessage.
Properties props = System.getProperties();
props.put("mail.smtp.host", MAILHOST);
props.put("mail.transport.protocol", "SMTP" );
Session session = Session.getInstance(props, null);
// Exceptions thrown below
MimeMessage rfc822Msg = new MimeMessage(session);
The exception error message I receive is:
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: javax/activation/DataSource
at MailApplet.actionPerformed(MailApplet.java:30)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:10
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
er.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
at java.awt.Component.processMouseEvent(Component.java:3165)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2068
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1852)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchTh
java, Compiled Code)
at java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThre
va:95)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
If you have any idea what is going on your help will be greatly appreciated.
I am using the jdk1.2.2 build and the JavaMail1.2 distribution.
Thanks,
William MappThanks for the help. Sorry I goofed. Now I have a question regarding what addresses you can send mail to. It seems that if I attempt send mail to a server other than the SMPT host I get a javax.mail.SendFailedException: Sending failed. The exception continues by stating that the address was Invalid, Relaying Denied.
What does this actually mean? Should i be supplying more information?
Thanks,
Will -
Exception thrown when CRM Extensibility code calls BC4JRuntimeDataControl
While uptaking CRM Extensibility for Sales Forecasting, we see the following exception thrown from a call to BC4JRuntimeDataControl(am). The method and the parameters passed (as seen in the remote debugger) are as follows:
public static DataControl getDTDataControl(ApplicationModule am) throws ContentGenerationException {
DataControl dtDataControl = null;
dtDataControl =
(DataControl)CommonUtils.getDataControlSessionCache().get(am);
if (dtDataControl == null) {
Logger.time("Creating BC4JRuntimeDataControl for am %s",
am.getDefFullName());
dtDataControl = new BC4JRuntimeDataControl(am);
Logger.time("Finish Creating BC4JRuntimeDataControl for am %s",
am.getDefFullName());
CommonUtils.cacheDataControl(am, dtDataControl);
return dtDataControl;
The AM passed as parameter is ForecastAMImpl (/oracle/apps/sales/salesForecasting/forecasts/forecastService/applicationModule/ForecastAM.xml)
The line dtDataControl = new BC4JRuntimeDataControl(am); above throws the exception below (full log file attached):
[FINER] [contentProvider:BindingUtils:getDTDataControl] 1328162162474 : Creating BC4JRuntimeDataControl for am oracle.apps.sales.salesForecasting.forecasts.forecastService.applicationModule.ForecastAM
[INFO] [plan:PlanInterpreter:compensate] Wed Feb 01 21:56:02 PST 2012 : Start running compensations
[INFO] [plan:PlanInterpreter:compensate] Wed Feb 01 21:56:02 PST 2012 : Start running compensations
[SEVERE] [client:Configuration:initializeFromConnectionName] oracle.jbo.ConfigException: JBO-33003: Connection name ApplicationDB is not defined.
Request assistance in resolving this issue.
ThanksLooks like your AM configuration relies on a database connection called ApplicationDB which is not defined in the server you are deployed on.
-
Exception thrown when I remove and add Tab?
Hi,
I use the JTabbedPane, and I made a button, when it's pressed, it will remove all tab from the JTabbedPane, and then it will recreate every tab(update them) and add it back. But sometimes there's exception thrown, why is that? the exception are:
java.lang.ArrayIndexOutOfBoundsException: 4 <------------------- this number always change
at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(BasicTabbedPaneUI.java:535)
at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:497)
at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(MetalTabbedPaneUI.java:666)
at javax.swing.plaf.metal.MetalTabbedPaneUI.update(MetalTabbedPaneUI.java:561)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4795)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748)
at javax.swing.JComponent._paintImmediately(JComponent.java:4692)
at javax.swing.JComponent.paintImmediately(JComponent.java:4495)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Does anyone know why? Thx
AdrianDoes anyone know why? I still can't solve this problem, it just keep popping up, but the strange thing is after exception thrown, nothing has happeded, everything seems to be fine, the program still running, all those tabs are added.
Does anyone know why? -
Exception thrown when trying to Sign-In to VS Online
Hi guys,
I am running visual studio 2013 ultimate version. However, when I click on the Sign In link on the top right corner of my IDE I am getting an error with the following message: "Exception has been thrown by the target of an invocation"
Also, when I try to open the Load test manager, I get a more detailed error:
Method not found: 'Void Newtonsoft.Json.Serialization.DefayltContractResolver.set_IgnoreSerializableAttribute(Boolean)'.
Any help is greatly appreciated.Hi ramirezl,
>>However, when I click on the Sign In link on the top right corner of my IDE I am getting an error with the following message: "Exception has been thrown by the target of an invocation".
Do you install the latest VS2013 update package 4?
Like this connect report here:
https://connect.microsoft.com/VisualStudio/feedback/details/808305/exception-has-been-thrown-by-the-target-of-an-invocation-when-clicking-sign-in-on-vs2013
It seems that this issue has been resolved with the update package.
You could download and install the latest update package 4 here:
http://www.microsoft.com/en-us/download/details.aspx?id=44921
>>Also, when I try to open the Load test manager, I get a more detailed error:
Method not found: 'Void Newtonsoft.Json.Serialization.DefayltContractResolver.set_IgnoreSerializableAttribute(Boolean)'.
In addition, you know that one thread for one issue, for this issue, if it is related to the Load test, you could post a new issue here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vstest
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Command line hangs when starting OC4J with MapViewer
Hello,
I have a simple development setup with a stand-alone oc4j instance installed via the MapViewer Quick Start Kit, on an 11g database, on a Windows XP workstation.
The problem: When I start the oc4j instance everything seems to start up successfully - the AS Control, the MapViewer EAR, etc.., but the command line window hangs after the last command is executed. It does not return to the command prompt. And if I close the Command Prompt window the oc4j instance automatically shuts down. Any thoughts on why this is hanging? Or is this normal behavior? Thank you. The text of the startup is shown below.
(Oh...and if you have any idea why I am getting a string of [ConverterRule] WARNINGS, please let me know. Thanks.)
-Dan
------- Output below --------
C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home>java -jar oc4j.jar
WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
tions\mapviewer\web\WEB-INF\lib\dms.jar (from WEB-INF/lib/ directory in C:\app\o
racle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\l
ib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0/
db_1/oc4j_mv/lib/dms.jar (from <code-source> (ignore manifest Class-Path) in MET
A-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\oc4j.jar).
If it contains different versions of the same classes, it will be masked as the
latter is already visible in the search path of loader mapviewer.web.web:0.0.0.
WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
tions\mapviewer\web\WEB-INF\lib\ojdl.jar (from WEB-INF/lib/ directory in C:\app\
oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\
lib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0
/db_1/oc4j_mv/diagnostics/lib/ojdl.jar (from <code-source> (ignore manifest Clas
s-Path) in META-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\h
ome\oc4j.jar). If it contains different versions of the same classes, it will be
masked as the latter is already visible in the search path of loader mapviewer.
web.web:0.0.0.
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null
Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
2009-03-10 10:51:20.500 NOTIFICATION oms root path: C:\app\oracle\product\11.1.
0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
09/03/10 10:51:20 mbean domain: mapviewer
2009-03-10 10:51:20.500 NOTIFICATION OMSConfig mbean regisred.
2009-03-10 10:51:20.500 NOTIFICATION MapTileServer root path: C:\app\oracle\pro
duct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
09/03/10 10:51:20 mbean domain: mapviewer
2009-03-10 10:51:20.515 NOTIFICATION MCSConfig mbean regisred.
2009-03-10 10:51:20.515 NOTIFICATION MapViewer server version: Ver1033p5_B081010
2009-03-10 10:51:20.515 NOTIFICATION using default config file: C:\app\oracle\pr
oduct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\conf\mapV
iewerConfig.xml
2009-03-10 10:51:20.515 WARNING dcsf:true
2009-03-10 10:51:20.531 WARNING destroying ALL mapmaker instances.
2009-03-10 10:51:20.531 WARNING dcsf:true
09/03/10 10:51:20 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
2009-03-10 10:51:20.578 NOTIFICATION Spatial Provider shapefileSDP has been regi
stered.
2009-03-10 10:51:20.578 NOTIFICATION Map Recycling thread started.
2009-03-10 10:51:20.593 NOTIFICATION *** Oracle MapViewer started. ***
2009-03-10 10:51:21.515 NOTIFICATION *** Oracle MapTileServer started. ***
2009-03-10 10:51:21.531 NOTIFICATION *** Oracle Feature of Interest (FOI) Server started ***
---> This is where it hangs up. It just sits here and never returns to the command prompt.I guess I've come to the conclusion that it's normal for the command window to remain open while mapviewer is running. I just don't recall that from my previous installations.
-- considered answered. -
ORABPEL-10585 exception raised when starting the admin server
Greetings,
Have installed Oracle SOA Suite 11gR1 with WebLogic 10.3. Starting the admin application server raises the following exception:
<Mar 30, 2012 5:30:33 PM CEST> <Error> <oracle.bpm.services.organization> <BEA-000000> <Exception
exception.70692.type: error
exception.70692.severity: 2
exception.70692.name: Error while granting BPMOrganizationAdmin role to SOAOperator.
exception.70692.description: Error occured while granting the application role BPMOrganizationAdmin to application role SOAOperator.
exception.70692.fix: In the policy store, please add SOAOperator role as a member of BPMOrganizationAdmin role, if it is not already present.
ORABPEL-10585
Service error.
Internal Error; Service error occurs in JpsProvider in method getIdentityStore().
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:379)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy294.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:168)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:174)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:124)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmStore(AbstractIdmIdentityStore.java:110)
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:377)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy294.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
<Mar 30, 2012 5:30:33 PM CEST> <Error> <oracle.bpm.common> <BEA-000000> <Exception
BPM-70692
Exception
exception.70692.type: error
exception.70692.severity: 2
exception.70692.name: Error while granting BPMOrganizationAdmin role to SOAOperator.
exception.70692.description: Error occured while granting the application role BPMOrganizationAdmin to application role SOAOperator.
exception.70692.fix: In the policy store, please add SOAOperator role as a member of BPMOrganizationAdmin role, if it is not already present.
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:324)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy294.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused By: ORABPEL-10585
Service error.
Internal Error; Service error occurs in JpsProvider in method getIdentityStore().
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:379)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy294.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:168)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:174)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:124)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmStore(AbstractIdmIdentityStore.java:110)
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:377)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy294.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
I noticed it has something to do with security so I need to mention I modified the boot.properties file such that to have the same credentials used upon the domain creation.
Many thanks in advance for your help.
Kind regards,
Nicolasscanzano,
I was wondering if you ever received and answer to this question, becuase I am faced with the same problem when I attempt a signon to the 'admin server' I receive the following message:
type Status report
message Invalid direct reference to form login page
description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).
This is displayed as an "HTTP Status 400 - Invalid direct reference to form login page!!??" It appears that this message has been around for a while so I'm wondering if this issue will ever get resolved?? -
When Starting OC4J, why the report server doesn't start automatically? !!
Dear All,
I have DS 10g on my system and I start the OC4J when I have to run either forms or reports.
But when I attend to start the do the following command from the form:
WEB.SHOWDOCUMENT(..../getjobid<jobid>?server=<servername>...), I have an error: FRM-41213: Unable to connect to the report server <servername>.
I noticed that if I run the following URL:http://<server>:.../reports/rwservlet, it gives me a list of command, but the server still not running..But if I add any command to the above URL like for example "getserverinfo" or "showjobs" then the server is started. Now, and after the command, if we return back and we run the report from the form, the report will run successfully.
The question WHY??
Regards,
Joe
Message was edited by: Joe
Joe FarahHello,
That's the way it works ...
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_strt.htm
2.1.3.1 Starting the In-process Server (Windows and UNIX)
If you are using Reports Server as an in-process server (the default configuration), sending a run report request starts the in-process server; however, if you are sending a request through a command line, the servlet must be invoked first using either the run report URL or the Web command URL. When you have successfully started the servlet, this also means you have successfully started the in-process server.
If you use "Oracle Application Server", the "in-process" reports server will be started automatically by opmn ...
Regards -
Exception thrown when trying to save custom sec provider in console
Hi,
We have created a custom identity assertion provider in WLS 8.1. When we try to create a new instance in the admin console, we receive an exception (when clicking the 'Create' button). This problem only occurs in one certain test environment, and works well in our development environment. It seems to be a problem with the environment. This is the exception displayed in the console:
java.lang.ClassCastException: java.lang.NoClassDefFoundError
at javax.management.modelmbean.RequiredModelMBean.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RequiredModelMBean.java:1166)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1560)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
--------------- nested within: ------------------
javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1562)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException: RuntimeException thrown by the invoke method of the Dynamic MBean - with nested exception:
[javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean]
at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:230)
at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
Do you have any idea of what the problem might be?
Cheers,
VidarHi,
We have created a custom identity assertion provider in WLS 8.1. When we try to create a new instance in the admin console, we receive an exception (when clicking the 'Create' button). This problem only occurs in one certain test environment, and works well in our development environment. It seems to be a problem with the environment. This is the exception displayed in the console:
java.lang.ClassCastException: java.lang.NoClassDefFoundError
at javax.management.modelmbean.RequiredModelMBean.invoke(Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RequiredModelMBean.java:1166)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1560)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
--------------- nested within: ------------------
javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljava.lang.Object;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1562)
at com.sun.management.jmx.MBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(MBeanServerImpl.java:1528)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;[Ljava.lang.Object;[Ljava.lang.String;)Ljava.lang.Object;(RemoteMBeanServerImpl.java:946)
at weblogic.management.console.utils.Security.createObject(Ljavax.management.ObjectName;Ljavax.management.ObjectName;Ljava.lang.String;)V(Security.java:767)
at weblogic.management.console.utils.Security.createProviderMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:905)
at weblogic.management.console.utils.Security.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(Security.java:749)
at weblogic.management.console.utils.MBeans.createMBean(Ljava.lang.String;Ljava.lang.String;Ljavax.management.DynamicMBean;)Ljavax.management.DynamicMBean;(MBeans.java:1353)
at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException: RuntimeException thrown by the invoke method of the Dynamic MBean - with nested exception:
[javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke method of the Dynamic MBean]
at weblogic.management.console.actions.ErrorAction.(Ljava.lang.Throwable;)V(ErrorAction.java:38)
at weblogic.management.console.actions.mbean.DoCreateMBeanAction.perform(Lweblogic.management.console.actions.ActionContext;)Lweblogic.management.console.actions.Action;(DoCreateMBeanAction.java:230)
at weblogic.management.console.actions.internal.ActionServlet.doAction(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
Do you have any idea of what the problem might be?
Cheers,
Vidar -
Axis2 and wsdl- Exception thrown when client attempting server connection
Hi all,
I am trying at the moment to develop an Axis2 server, and test it with a client.
The server is to provide a soap wsdl service, returning an object request.
I have generated server code and client code using axis2's wsdl2java tool, and all seemed fine.
The server I created using this generated code seems to work, so far as i can tell, as I can connect to it through a browser.
For example, using the browser I can connect to it via:
http://localhost:8888/services/PersonInfo
and it gives me a page showing 'Deployed Services', listing the operations available.
but the funny thing is here that it seems to auto-direct me to another url: http://localhost:8888/axis2/services/ which I have not specified.
For the server I am using the axis2 supplied SimpleHTTPServer. Here is the complete code excluding the actual generated code:
public class EmbeddedAxis2Server {
public static void main(String[] args) throws Exception {
ConfigurationContext context = ConfigurationContextFactory.
createConfigurationContextFromFileSystem(null, null);
AxisService service =
AxisService.createService(caps.integration.rhos.dk.schema.astraiaservice._2008._04._15.PersonInfo.class.getName(), context.getAxisConfiguration());
context.getAxisConfiguration().addService(service);
SimpleHTTPServer server = new SimpleHTTPServer(context, 8888);
server.start();
}I can even call the published operation using the browser, via the url:
http://localhost:8888/axis2/services/PersonInfo/getPersonInfo
and pass in arguments using the usual form variables syntax.
HOWEVER!! My problem is (and maybe it is related to the url redirect strangeness I mentioned above, or maybe not), that my coded client is not able to connect.
I generated the client stubs also using wsdl2java, and call the functions... but I get this show stopping exception:
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) 127.0.0.1/services/PersonInfo
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at caps.integration.rhos.dk.schema.astraiaservice._2008._04._15.PersonInfoStub.getPersonInfo(PersonInfoStub.java:142)
at com.astraia.axisclient.Client.getPersonInfo(Client.java:44)
at com.astraia.axisclient.Client.main(Client.java:23)Here is the client code (excluding generated stub)
public static void getPersonInfo(){
try
ConfigurationContext context = ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, null);
PersonInfoStub stub =new PersonInfoStub(context);
GetPersonInfoIn req =new GetPersonInfoIn();
req.setCivilRegistrationIdentifier("CIV123");
req.setHospitalCode("HOS123");
req.setRequestId("123");
req.setUserName("sean");
GetPersonInfoOut res = stub.getPersonInfo(req);
System.out.println(res.toString());
} catch(Exception e){ e.printStackTrace(); System.out.println("\n\n\n"); }
}If anyone has any idea of what this problem is about, I would love to hear about it!
Kind Regards,
svaens
Edited by: svaens on Apr 28, 2008 2:11 AMHi, I have an update!!!
Another aspect of my problem (which I had forgotten to mention) was a mysterious difference in the original wsdl file, and the one that was generated by my SImpleHTTPServer when my browser contact it, and requested the wsdl. That is, when I use the url in my firefox browser
[http://localhost:8888/axis2/services/PersonInfo?wsdl|http://localhost:8888/axis2/services/PersonInfo?wsdl]
the wsdl that was returned to the browser was different in several ways to the original wsdl that I generated my server side java code from using the axis2-1.3 wsdl2java.sh script.
I had noticed this, and decided to create a client using this new and strangely different wsdl, and see if this provides different results.
It worked!!! After creating my stub java code with the new wsdl file, and the wsdl2java tool, and modifying my custom java code to match the different stub generated, the client was able to connect to the server, and return me a serialized object.
Does this give you any clues as to what may be the real problem?
Differences in the wsdl include:
1. the targetNamespace attribute listed in the wsdl:definitions tag shows the namespace backwards!!
2. The new generated wsdl file has two extra element types,
GetPersonInfo, and GetPersonInfoResponse, + GetPersonInfoIn , GetPersonInfoOut
while the original only game me GetPersonInfoOut & GetPersonInfoIn.
The client code I had to change now looks like this:
try
ConfigurationContext context = ConfigurationContextFactory.
createDefaultConfigurationContext();
PersonInfoStub stub = new PersonInfoStub(context);
GetPersonInfo reqs = new GetPersonInfo();
GetPersonInfoIn req = new GetPersonInfoIn();
reqs.setGetPersonInfoIn(req);
req.setCivilRegistrationIdentifier("CIV123");
req.setHospitalCode("HOS123");
req.setRequestId("123");
req.setUserName("sean");
GetPersonInfoResponse res = stub.getPersonInfo(reqs);
GetPersonInfoOut resultObj = res.get_return();
OMFactory fac = OMAbstractFactory.getOMFactory();
OMElement xml = resultObj.getOMElement(GetPersonInfoResponse.MY_QNAME, fac);
XMLStreamWriter writer = XMLOutputFactory.newInstance().createXMLStreamWriter(System.out);
writeOMElement(xml, writer);
} catch(Exception e){
e.printStackTrace();
System.out.println("\n\n\n");
}
Maybe you are looking for
-
Can I type a large document on my iPad2 or only small amounts of text using Notes?
Can I type a large document on my iPad2 or only small amounts of text using Notes?
-
Help Having a problem with my directed graph, and its been frying my head. from the test that I've ran ita ppears to be working sort of the problem that I'm having is once I've created a node, I then attach an edge to that node, however where there a
-
• CS5... Where are my third party plug-ins?
Hello - I upgraded to Photoshop® CS5. But I can't find my plug-ins anymore (in the "filter" menu). They are all well there in my "plug-ins" folder, but I can't see them from the filter menu. Eg. My "Flaming Pear®" plug-ins aren't anymore in the "filt
-
Support will not reset security questions to allow purchases on account.
So awhile back I decided to format my pc due to installing new components into it. I logged into my itunes account after and it told me I will need to answer my security questions in order to purchase any more songs. It also gave me the option to sen
-
Dear Sir; I applied to my bank and learnd that istore try to take nearly 10 USD from my account which is out of my knowledge. May be i made a mistake i don't remember. My account is cyber credit card so it is impossible to take money unless i paid