Error with ALBPM 10g / JAX-WS and WebLogic 10g

Folks/People/Community:
I have an application client running over weblogic 10g. This application needs to be integrated with an external WebServices running under ALBPM 10g and implemented using jax-ws.
So far our application client running in standalone mode outside the weblogic server works without problems. But, running inside WebLogic 10g the application cannot establish connection with this external webservice and the exception is attached here. Also I'm sending our client source code.
Please, do you know if WebLogic 10g requires special configurations in order to enable this type of communication?. We have other applications already integrated with other WebService providers without problems so far today. Only this interface is failing and honestly I don't know what is the problem.
Thanks a lot in advance for your help!.
Gabriel.
log startup:
starting weblogic with Java version:
java version "1.6.0_05"
<Dec 29, 2009 9:57:33 AM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
---------------[BEGIN CUT HERE CODE]-----------
private String SECURITY_NAMESPACE =
"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
private String PAPI_ENDPOINT =
"http://internal_hostname.domain.net:8780/papiws/PapiWebServiceEndpoint";
private PapiWebService webService;
private void initialize() throws MalformedURLException, SOAPException, OperationException_Exception {
     QName qName = new QName("http://bea.com/albpm/PapiWebService", "PapiWebService");
     Service service = PapiWebService_Service.create(new URL(PAPI_ENDPOINT), qName);
// ERROR HERE ERROR HERE ERROR HERE
     webService = service.getPort(PapiWebService.class);
     // Authentication (OBPM)
     String sUsername = "mUser";
     String sPassword = "myPassword";
     addUsernameTokenProfile(webService, sUsername, sPassword);
     // Authentication (weblogic realm)
sUsername = "weblogic";
sPassword = "weblogic";
addHttpBasicAuthentication(webService, sUsername, sPassword);
---------------[END CODE]-----------
---------------[BEGIN CUT HERE STACKTRACE]-----------
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested
exception: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/Proyectos/Software/bea/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
Caused by: com.sun.xml.ws.util.ServiceConfigurationError:
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee .jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/Proyectos/Software/bea/wlserver_10.3/server/lib/weblogic.jar!/M
ETA
-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
at com.sun.xml.ws.util.ServiceFinder.fail(ServiceFinder.java:233)
at
com.sun.xml.ws.util.ServiceFinder.access$300(ServiceFinder.java:141)
at
com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:379)
at
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(TubelineAssemblerFac
tory.java:104)
at
com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(TubelineAssemblerFac
tory.java:78)
at
com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.jav
a:442)
at
com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceD
elegate.java:639)
at
com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:342)
at
com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:324)
at
com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306)
at javax.xml.ws.Service.getPort(Service.java:92)
at
com.bea.albpm.papiwebservice.PapiWebService_Service.getPapiWebServicePort(Pa
piWebService_Service.java:56)
at
com.company.latam.bpm.connector.albpm10g.BPMClient10g.initialize(BPMClient10g.j
ava:159)
at
com.company.latam.bpm.connector.albpm10g.BPMClient10g.<init>(BPMClient10g.java:
63)
at
com.company.latam.bpm.connector.ConnectorFactory.getInstance(ConnectorFactory.j
ava:22)
at
com.company.latam.bpm.connector.impl.BPMConnectorImpl.bpmAddAbstractRole(BPMCon
nectorImpl.java:39)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy57.bpmAddAbstractRole(Unknown Source)
at
com.company.latam.bpm.business.impl.BPMBusinessImpl.sendBPMNotificationAddFunct
ion(BPMBusinessImpl.java:595)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy58.sendBPMNotificationAddFunction(Unknown Source)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy59.sendBPMNotificationAddFunction(Unknown Source)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy59.sendBPMNotificationAddFunction(Unknown Source)
at
com.company.latam.sg.external.communicator.business.impl.ExternalCommunicatorBu
sinessImpl.forwardNotificationAddFunctionAn
dGroup(ExternalCommunicatorBusinessImpl.java:659)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy60.forwardNotificationAddFunctionAndGroup(Unknown Source)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy61.forwardNotificationAddFunctionAndGroup(Unknown Source)
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(AopU
tils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
MethodInvocationProceedingJoinPoint.java:77
at
com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
java:73)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
GivenArgs(AbstractAspectJAdvice.java:627)
at
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
tractAspectJAdvice.java:616)
at
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
ce.java:64)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)
at $Proxy61.forwardNotificationAddFunctionAndGroup(Unknown Source)
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.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxy
Factory.java:416)
at
org.apache.wicket.proxy.$Proxy82.forwardNotificationAddFunctionAndGroup(Unkn
own Source)
at
com.citi.company.sg.external.communicator.jobs.AddEnttlementsJob.execute(AddEn
ttlementsJob.java:16)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Caused by: java.lang.ClassCastException
at java.lang.Class.cast(Class.java:2990)
at
com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:374)
... 146 more
---------------[END STACKTRACE]-----------------------------

Hi,
This happens when the Classes gets Loaded from Different classLoaders and Create Conflicts...If you are using any EAR file then Please First of all...Place all the JAR files inside the "*<EAR_NAME>/APP-INF/lib*" directory and then Provide the "*weblogic-application.xml*" file inside the "*<EAR_NAME>/META-INF*"
And Please add the Following Tags inside your "*weblogic-application.xml*" ...
*<prefer-application-packages>*
<package-name>com.ctc.*</package-name>
<package-name>com.sun.xml.*</package-name>
<package-name>com.sun.istack.*</package-name>
<package-name>com.sun.msv.datatype.*</package-name>
<package-name>com.sun.msv.driver.*</package-name>
<package-name>com.sun.msv.grammar.*</package-name>
<package-name>com.sun.msv.reader.*</package-name>
<package-name>com.sun.msv.relaxns.*</package-name>
<package-name>com.sun.msv.scanner.*</package-name>
<package-name>com.sun.msv.util.*</package-name>
<package-name>com.sun.msv.verifier.*</package-name>
<package-name>com.sun.msv.writer.*</package-name>
<package-name>com.sun.org.apache.xml.internal.*</package-name>
<package-name>com.sun.wsit.*</package-name>
<package-name>javax.jws.*</package-name>     
<package-name>javax.xml.bind.*</package-name>
<package-name>javax.xml.soap.*</package-name>
<package-name>javax.xml.stream.*</package-name>
<package-name>javax.xml.ws.*</package-name>
<package-name>javax.xml.activation.*</package-name>
<package-name>javax.xml.annotation.*</package-name>
<package-name>javax.xml.mail.*</package-name>
<package-name>javax.xml.security.*</package-name>
<package-name>javax.xml.registry.*</package-name>
<package-name>javax.xml.rpc.*</package-name>
<package-name>javax.xml.crypto.*</package-name>
<package-name>javanet.staxutils.*</package-name>
<package-name>jp.gr.xml.*</package-name>
<package-name>org.codehaus.stax2.*</package-name>
<package-name>org.glassfish.gmbal.*</package-name>
<package-name>org.iso_relax.*</package-name>
<package-name>org.jcp.xml.dsig.*</package-name>
<package-name>org.jvnet.*</package-name>
<package-name>org.relaxng.*</package-name>
*</prefer-application-packages>*
All the Above Packages are related to WebServices .... And needs to be loaded from one ClassLoader only....to avoid conflicts.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

Similar Messages

  • JAX-RS and Weblogic 10.3 - How to enable HTTP PUT?

    I'm playing around with JAX-RS and Weblogic 10.3.
    I just sent a HTTP PUT request, and got back
    HTTP/1.1 405 Method Not Allowed
    Is this because HTTP PUT is disabled?
    If so, how do I enable it? I can't find the answer on Google or the forums here, so maybe I'm on the wrong track...

    In my case, WebLogic 10.3.1 returns this messege every time a Send a HTTP PUT request:
    Error 400--Bad Request
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.1 400 Bad Request
    The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
    Is there any way to enable HTTP PUT and HTTP DELETE in WebLogic?
    I can´t believe it's not possible to deploy RESTful Web Applications in WebLogic. That's terrible...

  • Error with internet plug-in message and blocked plugin

    On my MacBook Air Im receiving a error with internet plug-in message and blocked plugin which will not allow video clips to play i.e. YouTube. How do I correct this?

    When you have installed the latest version of Flash, relaunch Safari and test.
    If you're getting a "blocked plug-in" error, then in System Preferences… ▹ Flash Player ▹ Advanced
    click Check Now. Quit and relaunch your browser, but check this also:
    http://support.apple.com/kb/HT5655?viewlocale=en_US&locale=en_US  which also covers ‘blocked plug-in’.

  • Sqlj runtime error with oracle 10G in Websphere6 or 5.1

    We are trying to migrate from oracle 9i to 10G and we are compiled all our sqlj code with codegen = -oracle option.(previously we used to use codegen=-jdbc which for some reason doesnot work).it compiles fine with out any erros.. But when we try to run then get this exception.
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
    at sqlj.runtime.ref.ConnectionContextImpl.getOracleConnection(ConnectionContextImpl.java:167)
    at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(ExecutionContext.java:1397)
    We are using ojdbc14.jar that came with oracle 10G.
    Hope any one can give any pointers.

    I'm having same issue - but I'm having it when I try to invoke a method that contains a database Object type from a Tibco Business Works Process called a Java Method.
    How exactly do you do the codegen=iso configuration?
    I've tried:
    1. Project Properties / Compiler SQLJ and then select from Code Generation drop down iso.
    2. From Connections / Database / Navigate to package / right-click / Generate Java / Browse to my custom jpub.properties file where I have tried multiple entries such as (by themselves and in some combination.:
    - jpub.codegen=jdbc
    - jpub.codegen=iso
    - jpub.compatible=9i
    - jpub.compatible=8i
    - compatible=both8i
    - jpub.usertypes=oracle
    - jpub.compatible=customdatum
    - jpub.compatible=sqlj
    I've also played with changing from the default some of the Mapping Options in Connections / Database / Navigate to package / right-click / Generate Java / Mapping Options.
    This doc here, says that code should change (section 6 JPublisher Input Files - based on configuration of Input files)
    Oracle® Database
    JPublisher User's Guide
    10g Release 2 (10.2)
    B14188-01
    No matter what I do, the code that gets generate is the same.
    Also, the documentation talks about running things from the command line but how exactly do you do that? Do I need to be in specific directory? I tried the c:\ C:\jdev\system and c\jdev\ and c:jdev\bin and always get error message: 'jpub' is not recognized as an internal or external command, operable program or batch file.
    I've built a java client in JDeveloper to successfully call the same method and I don't see the error.
    Edited by: disaak on Mar 9, 2010 11:51 AM

  • "ORA-28267 Invalid NameSpace" with APEX 4.0.1 and WebLogic server

    Hi all,
    I have a page that has a simple query as Region Source. It all worked fine on Apex 3.2 with the iAS mod pl/sql gateway.
    Query goes like this:
    select servername, a.capture_name, a.status, a.source_database, a.captured_scn, a.applied_scn, b.state_changed_time, b.state
    from DBA_CAPTURE@DBLNK_STRM_PADATARP a, V$STREAMS_CAPTURE@DBLNK_STRM_PADATARP b
    where a.CAPTURE_NAME (+)= b.CAPTURE_NAME
    (it reads out Oracle Streams status over a database link)
    After migrating the page to Apex 4.0.1 and WebLogic (Oracle 11g SOA suite) frontend, the Apex page now gives the "ORA-28267 Invalid NameSpace" error for some strange reason.
    Apex will now not validate the query in the edit region source page.
    I think maybe the problem lies with the WebLogic setup, but exactly what it might be eludes me.
    Anyone able to shed any light on this?
    Regards,
    -Haakon-

    Must have to do with the java based Apex Listener in conjunction with WebLogic and the execution of queries over database links.
    Workaround was to create a materialized view in Apex database and select from that instead.

  • Problem in configuring SSL with IIS 5.0 server and weblogic 6.1

    Dear Freinds,
    I m configuring the IIS 5.0 and weblogic 6.1.
    I M using IIS and Proxy and Weblogic as Main Server.
    I m able to route the Http request from IIS to wblogic but when i type in Https for
    connecting to the weblogic resources it throws error and says that SSL is not Initialized.
    I m using the Bea document for configuring the same.
    Please Help me ASAP.
    Thanks
    Praveen Rana

    In the environment definition,
    -> External Application JDBC
    -> Properties
    -> Outbound JDBC Connection
    You have the database URL in the "DriverProperties" field
    Valid URL would be : jdbc:mysql://localhost:3306/caps
    !! The doc says that this field is optional !! Seems to be an error in the doc:
    Hope this helps
    Seb

  • Runtime error with Adobe Reader 9.x and IE

    I'm getting a runtime error with any adobe reader 9.x and Internet Explorer whenever a .pdf is being viewed online.  It will pull the .pdf up and then pop up a runtime error window and close it down completely.  It is only happening with individuals that have redirected app data folders and profiles.  I have all machines running Windows XP sp3 and IE8.  I know, I know, I can always go to Firefox or Chrome, but IE is easily managed with group policy lockdowns.  I can unintall reader 9.x and then reinstall 8.x and it works perfectly.  The only problem with that is that I have to go do every machine and physically uninstall since I buildt the windows xp installer package with it.  Does anyone know a workaround or if adobe is going to get it fixed pretty soon?

    I am experiencing exactly the same problems on one of two identical machines after something happened in the registry.
    The first problem that appered was an error 1325 "Favorites is not a valid short name".
    I did find the registry key involved (%userprofile%\Favorites) and fixed it.
    So now the the next one: yours.
    I think the solution can be found in the list of registry keys that Adobe Reader is accessing.
    btw Eusing registry cleaner did not find this key to be in error.
    Problem is that the Reader does not ask for an alternative location after stumbling on the key.
    Who can gnerate a list of keys accessed?

  • ClassNotFound Error with Oracle 10g...please help!

    Hello everyone!
    I am currently using jdk 1.4.2_10 with Oracle 10g. I tried to connect to the database, like this:
    try{
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String serverName = "***.***.*.*";
    String portNumber = "****";
    String sid = "****";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String usr = "*****";
    String pwd = "*****";
    //Load the JDBC driver
    Class.forName(driverName);
    //Connect to the base
    connect = DriverManager.getConnection(url,usr,pwd);
    catch(ClassNotFoundException e){
    System.out.println("Error---No database driver");
    catch(SQLException s){
    System.out.println("Error---No connection to the database");
    Here is what's in my classpath, (i added the ojdbc14.jar) :
    c:\oracle\product\10.2.0\client_2\jdbc\lib\ojdbc14.jar;
    C:\Program Files\QuickTime\QTSystem\QTJava.zip
    Can anyone please help me?
    It's really a problem, i've been searching for 2 days now.....
    thank you

    Most likely it is about
    oracle.jdbc.driver.OracleDriver
    You need to include Oracle JDBC lib.
    If you are using JDeveloper then:
    In Project properties click on Libraries
    Click AddLibrary
    In the list that appears choose Oracle JDBC

  • Connection error with Crystal Report XI, VB6 and Sybase ASE15

    Hello !
    I have an error #4002 when I want to launch a report in VB6 with the ActiveX Crystal Report Viewer.
    I use Sybase ASE 15 with an ODBC link and the reports run stored procedures.
    This error seems to be an authentification error, but I don't know what parameters are missing or wrong...
    - My reports works well in the report designer.
    - The reports connected to a text file or an ADO recordset work in VB6.
    - The Verify Database works in design mode in VB6.
    - The problem is the same with tables, stored procedures, SQL and with or without parameters...
    - I tried to connect the report to a DataEnvironnment but I get the same error.
    The problem appears when I use the Crystal Wizard to create a form automatically AND when I create objects directly in code like :
        Dim crapp As CRAXDRT.Application
        Dim oReport As CRAXDRT.Report
        Set crapp = New CRAXDRT.Application
        Set oReport = crapp.OpenReport("C:\myreport.rpt")
        CRViewer.ReportSource = oReport
        CRViewer.viewReport
    Please help !

    Hello,
    I don't see any database logon code in what you posted.  You need to log onto the database at runtime since Crystal Reports will never store passwords.
    You can download and review the [Connection Properties|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00635998-751e-2b10-9cba-f50ee1e4ef81] document for more information on how to log onto your database at runtime.  This document was written for CR9, but it's the same for CR10, CR XI (v11.0), and CR XI R2 (v11.5).
    I hope this helps.
    Sincerely,
    Dan Kelleher

  • Multiple errors with DSC modules modbus master and slave

    Hi,
    I've searched quite a lot of posts but haven't found solution for my problem. I'm playing with LabVIEW DSC module and it's modbus master and slave functionalities. Even the LabVIEWs own modbus examples (Modbus Simulator and Fundamentals) seem to work randomly or not at all: When checking the Variable Manager utility Modbus Simulator (i.e. modbus slave/server) seems to deploy variables correctly with good quality but Modbus Fundamentals (i.e. modbus master/client) most often shows unknown value or bad quality for all the variables. When running the VIs I get 'Error -1950679035 Unable to locate variable in the Shared Variable Engine' and sometimes some other errors too. If the Modbus Simulator (slave/server) is expected to work fine I guess I should get two slaves communicating, but this isn't happening either. So maybe Modbus Simulator example isn't working either.
    I've tried undeploying and deploying the libraries, stopping and starting the SVE, booting PC, reinstalling DSC module, and setting firewall and antivirus software off. This problem is going on with two different computers, both of which have recently installed LabVIEW 2011, first PC with Win XP and second PC with Win 7. No other OPC servers should be installed to these computers. And what is really interesting, the problem seems to have nothing to do with my network since Simulator and Fundamentals examples are not working even if the network cable is unplugged!
    Any suggestions? Replies are highly appreciated!

    V8 has the same feature, but the words are different.
    The Generator typically uses the Driver time base, and the Gl. Var Write is writing once per block.
    So, to see all values, you must have a block size of one.
    I set up the Driver timebase to 10 Hz, block size of 1. The Generator and the Read Variable default to the Driver timebase.
    The Generator is making a 2 Hz Rectangle waveform. YOu can see that it's shifted, but otherwise intact.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Installation errors with Oracle 10g Express Edition client.

    Hi,
    I want to use the Oracle 10g XE client on my Ubuntu (Lucid) laptop. I am following the installation instructions as mentioned at Installing Database Oracle XE Client. When I run the .sh file for my bash shell, I keep getting this error message:
    root@machine:/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin# . ./oracle_env.sh
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/nls_lang.sh: 112: [[: not found
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/nls_lang.sh: 112: [[: not foundAnd, when I look up nls_lang.sh at around line 112, I see this:
    # Detertmine the LANGUAGE_TERRITORY part of NLS_LANG
    # we derive it from the current locale by inspecting the LC_ALL and
    # the LANG environment variable. Other LC_* environment variables
    # are not inspected.
    if [[ -n "$LC_ALL" ]]; then
      locale=$LC_ALL
    elif [[ -n "$LANG" ]]; then
      locale=$LANG
    else
      locale=
    fiHow do I get the client working ?

    So, I have been searching around to look for a method to enable the client installed on my laptop to connect to the database. Granted that, the server is not installed on my local machine. But, I am simply, unable to find any clues as to how do I specify the database name that the client should connect. The ORACLE_SID parameter needs to hold a database name; but, where are the IP address and port number mentioned for the database ? One site recommended that tnsping be used to check for database existence; whereas, tnsping is not installed. Then, the commonest hint that I keep bumping into - TNSNAMES.ORA file. Since I have only the client installed, I don't even see the network/admin folder (or whatever the path is to the .ora file) under /usr/lib/oracle/xe/app/oracle/product/10.2.0.
    It can't be this hard to connect to an Oracle server with only a itsy-bitsy Oracle installed on my local machine, hmmm ?

  • XA error with Oracle 9.2.0.x / Weblogic 7 sp2

    Hi,
    I have encountered some problems when accessing Oracle 9i (9.2.0.2) via
    Weblogic7 sp2 .
    The problem occurs when a stateless session bean invokes a DAO that get a
    connection from the datasource. The SLSB transaction attribute is set to
    'required'.
    This problem does not when using oracle.driver.OracleDriver or using Oracle
    9.0.1.
    Please help.
    Thanks!
    Regards...
    <JDBCConnectionPool
    DriverName="oracle.jdbc.xa.client.OracleXADataSource"
    InitialCapacity="10" MaxCapacity="10" Name="MyConnectionPool"
    Password="{3DES}EuCgBGHa7vhKa8GfpTjs4w==" Properties="user=psm"
    ShrinkPeriodMinutes="1" ShrinkingEnabled="false"
    SupportsLocalTransaction="false" Targets="myserver"
    URL="jdbc:oracle:thin:@192.168.142.153:1521:oscdev"/>
    <JDBCTxDataSource JNDIName="MyDataSource" Name="MyDataSource"
    PoolName="MyConnectionPool" Targets="myserver"/>
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has
    occured in the transaction branch start() failed on resource
    'MyConnectionPool': XAER_RMERR : A resource manager error has occured in the
    transaction branch
    oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
    at weblogic.jdbc.jta.VendorXAResource.start(VendorXAResource.java:41)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:569)
    at
    weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.ja
    va:1165)
    at
    weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.
    java:1108)
    at
    weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourceInfo.j
    ava:287)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
    nsactionImpl.java:391)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1143)
    at
    weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1098)
    at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:145)
    at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:211)
    at
    weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
    va:139)
    at
    weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:81
    Attached the error log and config.
    [apps.log]
    [config.xml]

    Which version of oracle database are you trying to connect to? we have seen some problems with oracle 920 thin driver. It will be good to use 9013 thin driver instead for now.
    Mitesh
    Wee Hong Ee wrote:
    Hi,
    I have encountered some problems when accessing Oracle 9i (9.2.0.2) via
    Weblogic7 sp2 .
    The problem occurs when a stateless session bean invokes a DAO that get a
    connection from the datasource. The SLSB transaction attribute is set to
    'required'.
    This problem does not when using oracle.driver.OracleDriver or using Oracle
    9.0.1.
    Please help.
    Thanks!
    Regards...
    <JDBCConnectionPool
    DriverName="oracle.jdbc.xa.client.OracleXADataSource"
    InitialCapacity="10" MaxCapacity="10" Name="MyConnectionPool"
    Password="{3DES}EuCgBGHa7vhKa8GfpTjs4w==" Properties="user=psm"
    ShrinkPeriodMinutes="1" ShrinkingEnabled="false"
    SupportsLocalTransaction="false" Targets="myserver"
    URL="jdbc:oracle:thin:@192.168.142.153:1521:oscdev"/>
    <JDBCTxDataSource JNDIName="MyDataSource" Name="MyDataSource"
    PoolName="MyConnectionPool" Targets="myserver"/>
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has
    occured in the transaction branch start() failed on resource
    'MyConnectionPool': XAER_RMERR : A resource manager error has occured in the
    transaction branch
    oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
    at weblogic.jdbc.jta.VendorXAResource.start(VendorXAResource.java:41)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:569)
    at
    weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.ja
    va:1165)
    at
    weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.
    java:1108)
    at
    weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourceInfo.j
    ava:287)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
    nsactionImpl.java:391)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1143)
    at
    weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1098)
    at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:145)
    at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:211)
    at
    weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
    va:139)
    at
    weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:81
    Attached the error log and config.
    Name: apps.log
    apps.log Type: Text Document (application/x-unknown-content-type-txtfile)
    Encoding: x-uuencode
    <?xml version="1.0" encoding="UTF-8"?>
    <!--If your domain is active, please do not edit the config.xml file. Any changes made to that file while the domain is active will not have any effect on the domain's configuration and are likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do so, please refer to the BEA Weblogic Server Configuration Reference documentation available from http://edocs.bea.com/wls/docs70/config_xml. In general, we recommend that changes to your configuration file be made through the Administration Console.-->
    <Domain ConfigurationVersion="7.0.0.0" Name="mydomain">
    <Application Deployed="true" Name="DefaultWebApp"
    Path="C:\bea\user_projects\mydomain\applications"
    StagedTargets="" TwoPhase="true">
    <WebAppComponent Name="DefaultWebApp" Targets="myserver" URI="DefaultWebApp"/>
    </Application>
    <Application Deployed="true" Name="certificate"
    Path=".\applications" StagedTargets="" TwoPhase="false">
    <WebAppComponent Name="certificate" Targets="myserver" URI="certificate.war"/>
    </Application>
    <Application Name="poc" Path="D:\HSA\src\deploy\poc.ear"
    StagingMode="nostage" TwoPhase="true">
    <EJBComponent Name="poc-hsa_waf-ejb.jar" Targets="myserver" URI="poc-hsa_waf-ejb.jar"/>
    <EJBComponent Name="user-ejb.jar" Targets="myserver" URI="user-ejb.jar"/>
    <WebAppComponent Name="poc.war/" Targets="myserver" URI="poc.war/"/>
    </Application>
    <ApplicationManager Name="mydomain"/>
    <EmbeddedLDAP
    Credential="{3DES}PMLvNRl/VFtDLKDdfidrUP5bYwm+FAcgdR+UXOY0YiY=" Name="mydomain"/>
    <FileRealm Name="wl_default_file_realm"/>
    <JDBCConnectionPool
    DriverName="oracle.jdbc.xa.client.OracleXADataSource"
    InitialCapacity="10" MaxCapacity="10" Name="MyConnectionPool"
    Password="{3DES}EuCgBGHa7vhKa8GfpTjs4w==" Properties="user=psm"
    ShrinkPeriodMinutes="1" ShrinkingEnabled="false"
    SupportsLocalTransaction="false" Targets="myserver" URL="jdbc:oracle:thin:@192.168.142.153:1521:oscdev"/>
    <JDBCTxDataSource JNDIName="MyDataSource" Name="MyDataSource"
    PoolName="MyConnectionPool" Targets="myserver"/>
    <JTA Name="mydomain"/>
    <Log FileName=".\wl-domain.log" Name="mydomain"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <SNMPAgent Name="mydomain"/>
    <Security GuestDisabled="false" Name="mydomain"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true"/>
    <SecurityConfiguration
    Credential="{3DES}22b8VM1wFkNwKqrWc093vhUk4XsQKkozia+O7H8K4I602imSpWAOlikFQyDOvETIj6mhrD+D+2/Ays3XL4PM//3Y2/TeWxHb" Name="mydomain"/>
    <Server ListenPort="7001" Name="myserver" NativeIOEnabled="true"
    ServerVersion="7.0.0.0" XMLEntityCache="XMLCacheMBean_myserver">
    <COM Name="myserver"/>
    <ExecuteQueue Name="default" ThreadCount="15"/>
    <IIOP Name="myserver"/>
    <JTAMigratableTarget Cluster="" Name="myserver" UserPreferredServer="myserver"/>
    <KernelDebug Name="myserver"/>
    <Log FileName=".\myserver\myserver.log" Name="myserver"/>
    <SSL Enabled="true" HostnameVerificationIgnored="true"
    ListenPort="7002" Name="myserver"
    ServerCertificateChainFileName="ca.pem"
    ServerCertificateFileName="democert.pem" ServerKeyFileName="demokey.pem"/>
    <ServerDebug Name="myserver"/>
    <ServerStart Name="myserver"/>
    <WebServer DefaultWebApp="DefaultWebApp"
    LogFileName=".\myserver\access.log" LoggingEnabled="true" Name="myserver"/>
    </Server>
    <XMLEntityCache Name="XMLCacheMBean_myserver"/>
    </Domain>

  • Configuration assistant error with Oracle 10g 10.2.02 with Solaris 10 6/06

    Hi all,
    As anyone seen this a fix for this error?
    I have installed Solaris 10 6/06 x86 on VMWare 5.2 which works fine.
    When I attempt to install Oracle 10g 10.2.02 for Solaris x86 (released in Sept 06), the install goes fine until I get to the configuration assistant stage.
    The first Net based configuration assistant fails with a Java exception which seems to be related to a Sig 11 in the libc library.
    This looks like an error fixed by a patch mentioned in the release notes but the patch does not seem to be available for this version of Solaris.
    Any comments would be greatly appreciated...
    Regards
    Anthony

    Hi all,
    Just to update this.
    I have deselected the create database option part of the install and Oracle installs OK!
    The problem is in the create database phase which I have manually done when I use the dbca program.
    When I get to the create database operation of the the dbca wizard, I get a the following error "ORA-00600, internal error code, arguments [kelntf-ldminit, [146],[1],[],[],[],[],[]"
    Any offers?

  • Compile error with Jdev 10g Preview

    I am trying out Jdev 10g with JHeadstart. I followed the instruction on the Oracle JHeadstart 10g and Oracle JDeveloper 10g preview document, and then used the isnstructions on the NewJhsProjectInstructions.html document.
    The first time I tried to compile the project, I got a whole list of errors which looked like;
    /usr/oracle/jhs904/jheadstart/src/jhsruntime_source.zip!/oracle/jheadstart/model/bc4j/JhsApplicationModuleImpl.java
    Error(143,31): cannot access class oracle.cle.persistence.HandlerNotFoundException; file oracle/cle/persistence/HandlerNotFoundException.class not
    This was due to Jdeveloper trying to compile jhsruntime_source.zip. I removed this from the java source path and added jhsruntime.jar.
    I am now getting thisError(22,53): cannot access class oracle.jheadstart.model.bc4j.handler.DataObjectHandlerImpl; file oracle/jheadstart/model/bc4j/handler/DataObjectHandlerImpl.class not found error;
    I have checked, and cinfirmed that the class file oracle/jheadstart/model/bc4j/handler/DataObjectHandlerImpl.class is in jhsruntime.jar.
    The Java Source path in Jdeveloper is ;
    /home/chandana/jdevhome/mywork/JHS/src;/usr/oracle/jhs904/jheadstart/lib/jhsruntime.jar.
    Can some one tell me what is wrong ?

    Hi Chandana,
    You should not put jhsruntime.jar in the Java Source Path. It should be in the Additional Classpath.
    The Java Source Path (Project Settings - Common - Input Paths) should only contain /home/chandana/jdevhome/mywork/JHS/src .
    If you created the library JhsLibs the way it was described in the JDev 10g document, your project should now compile correctly. The JhsLibs library ensures that your project can compile against jhsruntime.jar (amongst others).
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • Problem in Distributed transaction with Oracle 8.1.7 and Weblogic 7.0

              Hi,
              I am using two unmanaged weblogic 7.0 servers and oracle 8.1.7 enterprise edition.
              I am using oracle.jdbc.xa.client.OracleXADataSource for creating connection pool
              in weblogic. The pool gets created fine but when connection it is getting used
              it throws up following error.
              java.sql.SQLException: ORA-02044: transaction manager login denied: transaction
              in progress
              ORA-06512: at "SYS.JAVA_XA", line 0
              ORA-06512: at line 1
              at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
              at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
              at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
              at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
              at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
              at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1446)
              at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1371)
              at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1900)
              at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
              at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:407)
              at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:171)
              at weblogic.jdbc.jta.VendorXAResource.start(VendorXAResource.java:41)
              at weblogic.jdbc.jta.DataSource.start(DataSource.java:569)
              I don't know what is causing this problem.Please send me the pointers.
              Regards,
              Vikash
              

    ID is a NUMBER and id.toString() is not a number, for
    example it ca be a null reference.
    well we tryed also this version :
    ps.setLong(1, id.longValue());
    moreover the exception wasn't thrown for the value of id :56 but was thrown for the value of id : 88. Hence I think it is a case of something other than my code.
    michal

Maybe you are looking for

  • HP Color LaserJet Pro MFP M177fw How to Scan

    I just bout the HP Color LaserJet Pro MFP M177fw printer today and don't know how to use the scanner. I use Windows 8 operating system. Please advise how to use th scanner function. Thanks.  

  • Transactional Behaviour of Oracle B2B 11g

    Hi Gurus/Anuj, Can you please explain Transactional Behaviour in Oracle B2B 11g? For a Inbound Interface I have three Mediators(Mediator M1,M2 and M3) Partner push a file at file location --> B2B Interface used in M1 ,through B2B Binding,picks the FI

  • 'Parent' DB Table references 'child' table twice

    I'm having fun learning a million new things at once, and I ran into a bit of a wall. I have made the following work using secondary backing beans, but I'm wondering if there isn't a nice simple connection of some sort that would let me avoid the ext

  • 1.67GHz G4 vs. 2.1GHz G5

    Hi! I'm currently deciding upon whether or not I want to go mobile. What is stopping me from making my decision, is that I feel I may be able to get a better performing computer if I were to purchase a desktop. Exactly how much more performance am I

  • IAS LDAP Taglib loopValue

    I'm having trouble with the iAS LDAP taglib. I'm having trouble with the looping tags, however. The pages compile, but they throw NullPointerExceptions once they get to the loopValue or loopEntry tag. Here is my code: <% //BEGIN CODE %> <%@ page erro