Xellerate Adapter Compilation : IOException

Hi
When I try to build an adapter using the thick client, an IOException is encountered. I am using OIM 9.0.1 with JBoss 4.0.2
Any input would be appreciated.
Thanks in advance.
The logs are as follows
2006-11-17 10:17:28,424 DEBUG [org.jboss.ejb.StatefulSessionContainer] Created new session ID: eumwzyaw-51
2006-11-17 10:17:28,424 DEBUG [org.jboss.ejb.StatefulSessionContainer] Using create method for session: public void com.thortech.xl.ejb.databeansimpl.tcADPBean.ejbCreate() throws javax.ejb.CreateException
2006-11-17 10:17:28,439 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session: stateful-rmi-invoker
2006-11-17 10:17:28,752 ERROR [XELLERATE.ADAPTERS] Class/Method: tcAdpUtils/compileAdapter encounter some problems: Exception encountered during compilation of adpADPREPOPULATEUSERLASTNAME adapter
2006-11-17 10:17:28,752 ERROR [XELLERATE.ADAPTERS] Class/Method: tcAdpUtils/compileAdapter encounter some problems: CreateProcess: javac -classpath \lib\tools.jar;C:\jboss-4.0.2\bin\run.jar;C:\oracle\xellerate\lib\msbase.jar;C:\oracle\xellerate\lib\mssqlserver.jar;C:\oracle\xellerate\lib\msutil.jar;C:\oracle\xellerate\lib\wlXLSecurityProviders.jar;C:\oracle\xellerate\lib\XIMDD.jar;C:\oracle\xellerate\lib\xlAdapterUtilities.jar;C:\oracle\xellerate\lib\xlAPI.jar;C:\oracle\xellerate\lib\xlAttestation.jar;C:\oracle\xellerate\lib\xlAuditor.jar;C:\oracle\xellerate\lib\xlAuthentication.jar;C:\oracle\xellerate\lib\xlBackOfficeBeans.jar;C:\oracle\xellerate\lib\xlBackofficeClient.jar;C:\oracle\xellerate\lib\xlCache.jar;C:\oracle\xellerate\lib\xlCrypto.jar;C:\oracle\xellerate\lib\XLCustomClient.ear;C:\oracle\xellerate\lib\xlDataObjectBeans.jar;C:\oracle\xellerate\lib\xlDataObjects.jar;C:\oracle\xellerate\lib\xlDDM.jar;C:\oracle\xellerate\lib\xlInputPreprocessor.jar;C:\oracle\xellerate\lib\xlInstaller.jar;C:\oracle\xellerate\lib\xlLogger.jar;C:\oracle\xellerate\lib\xlRemoteManager.jar;C:\oracle\xellerate\lib\xlSampleApp.jar;C:\oracle\”
java.io.IOException: CreateProcess: javac -classpath \lib\tools.jar;C:\jboss-4.0.2\bin\run.jar;C:\oracle\xellerate\lib\msbase.jar;C:\oracle\xellerate\lib\mssqlserver.jar;C:\oracle\xellerate\lib\msutil.jar;C:\oracle\xellerate\lib\wlXLSecurityProviders.jar;C:\oracle\xellerate\lib\XIMDD.jar;C:\oracle\xellerate\lib\xlAdapterUtilities.jar;C:\oracle\xellerate\lib\xlAPI.jar;C:\oracle\xellerate\lib\xlAttestation.jar;C:\oracle\xellerate\lib\xlAuditor.jar;C:\oracle\xellerate\lib\xlAuthentication.jar;C:\oracle\xellerate\lib\xlBackOfficeBeans.jar;C:\oracle\xellerate\lib\xlBackofficeClient.jar;C:\oracle\xellerate\lib\xlCache.jar;C:\oracle\xellerate\lib\xlCrypto.jar;C:\oracle\xellerate\lib\XLCustomClient.ear;C:\oracle\xellerate\lib\xlDataObjectBeans.jar;C:\oracle\xellerate\lib\xlDataObjects.jar;C:\oracle\xellerate\lib\xlDDM.jar;C:\oracle\xellerate\lib\xlInputPreprocessor.jar;C:\oracle\xellerate\lib\xlInstaller.jar;C:\oracle\xellerate\lib\xlLogger.jar;C:\oracle\xellerate\lib\xlRemoteManager.jar;C:\oracle\xellerate\lib\xlSampleApp.jar;C:\oracle\”
     at java.lang.ProcessImpl.create(Native Method)
     at java.lang.ProcessImpl.<init>(Unknown Source)
     at java.lang.ProcessImpl.start(Unknown Source)
     at java.lang.ProcessBuilder.start(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at java.lang.Runtime.exec(Unknown Source)
     at com.thortech.xl.dataobj.util.tcAdpUtils.compileAdapter(Unknown Source)
     at com.thortech.xl.dataobj.util.tcAdpUtils.createAdapter(Unknown Source)
     at com.thortech.xl.dataobj.tcADP.createAdapter(Unknown Source)
     at com.thortech.xl.dataobj.tcADP.eventPreUpdate(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
     at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
     at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
     at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:584)
     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
     at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:297)
     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
     at org.jboss.ejb.Container.invoke(Container.java:873)
     at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
     at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
     at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
     at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
     at sun.rmi.transport.Transport$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.rmi.transport.Transport.serviceCall(Unknown Source)
     at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
2006-11-17 10:17:28,752 ERROR [XELLERATE.ADAPTERS] Class/Method: tcADP/createAdapter encounter some problems: {1}
java.lang.NullPointerException
     at com.thortech.xl.dataobj.util.tcAdpUtils.compileAdapter(Unknown Source)
     at com.thortech.xl.dataobj.util.tcAdpUtils.createAdapter(Unknown Source)
     at com.thortech.xl.dataobj.tcADP.createAdapter(Unknown Source)
     at com.thortech.xl.dataobj.tcADP.eventPreUpdate(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
     at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
     at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
     at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
     at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:584)
     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
     at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:297)
     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
     at org.jboss.ejb.Container.invoke(Container.java:873)
     at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
     at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
     at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
     at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
     at sun.rmi.transport.Transport$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.rmi.transport.Transport.serviceCall(Unknown Source)
     at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
2006-11-17 10:17:28,752 ERROR [XELLERATE.ADAPTERS]
ERROR:
CODE GENERATION EXCEPTION: null
2006-11-17 10:17:28,752 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] get called (key=.select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcADP' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence)
2006-11-17 10:17:28,752 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] persistRetrieve called (key=.select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcADP' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence)
2006-11-17 10:17:28,752 DEBUG [com.opensymphony.oscache.base.Cache] No cache entry exists for key='.select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcADP' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence', creating
2006-11-17 10:17:28,752 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] persistStore called (key=.select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcADP' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequence)
2006-11-17 10:17:28,752 DEBUG [com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache] persistRetrieveGroup called (groupName=DataObjectEventHandlers)

Thanks Rajiv. I, in fact, did same for resolution as there was a reference to a directory in logs under /tmp but I wasn't able to find it. Cleaning up /tmp did the trick.

Similar Messages

  • OIM 11.1.1.3 Adapter compilation problem, missing classpath entries

    Hi all,
    I have installed MSAD connector 9.1.1.7.0 to my OIM 11.1.1.3 box. All the check-marks on the installation page were green.
    But in the logs I see no adapters were successfully compiled:
    <Oct 12, 2011 3:57:38 PM MSD> <Error> <XELLERATE.ADAPTERS> <BEA-000000> <Class/Method: tcAdpUtils/compileAdapter encounter some problems: Could not compile adapter : adpADCSCHECKPROCESSPARENTORG>
    <Oct 12, 2011 3:57:38 PM MSD> <Error> <XELLERATE.ADAPTERS> <BEA-000000> <Class/Method: tcAdpUtils/compileAdapter encounter some problems: Compile failed on Wed Oct 12 15:57:38 MSD 2011
    /tmp/oracle/oim/adapters/adpADCSCHECKPROCESSPARENTORG.java:4: package com.thortech.xl.dataobj does not exist
    import com.thortech.xl.dataobj.*;
    /tmp/oracle/oim/adapters/adpADCSCHECKPROCESSPARENTORG.java:13: package com.thortech.xl.dataobj.util does not exist
    The beginning of the Java file to compile from same logs looks like following:
    1: /* Copyright (c) 2001 - 2007, Oracle Corporation. All rights reserved.
    2: */
    3: package com.thortech.xl.adapterGlue.ScheduleItemEvents;
    4: import com.thortech.xl.dataobj.*;
    5: //import com.thortech.xl.adapterGlue.*;
    6: //import com.thortech.xl.dataobj.tcDataSet;
    7: import java.io.IOException;
    8: import java.util.*;
    9: import java.io.FileWriter;
    10: import java.io.File;
    11: import java.sql.Timestamp;
    12: import java.text.DateFormat;
    13: import com.thortech.xl.dataobj.util.tcAdapterTaskException;
    14: import com.thortech.xl.dataobj.util.;*
    15: import com.thortech.xl.dataobj.util.tcJarEntryClassLoader;
    16: import com.thortech.xl.remotemanager.*;
    17: import java.rmi.*;
    18: import java.net.URL;
    19: import java.lang.reflect.Constructor;
    20: import java.lang.reflect.Method;
    21: import java.lang.reflect.Modifier;
    22: import java.lang.reflect.InvocationTargetException;
    23: import java.lang.reflect.Field;
    24: import java.net.*;
    The compilation command line from same logs looks like following:
    javac -classpath /odrive/oracle/oim11g_MWH/wlserver_10.3/server/ext/jdbc/oracle/11g/ojdbc6dms.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/user-patch.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/soa-startup.jar::/odrive/oracle/oim11g_MWH/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/odrive/oracle/oim11g_MWH/patch_ocp353/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-6-sun-1.6.0.24/lib/tools.jar:/odrive/oracle/oim11g_MWH/wlserver_10.3/server/lib/weblogic_sp.jar:/odrive/oracle/oim11g_MWH/wlserver_10.3/server/lib/weblogic.jar:/odrive/oracle/oim11g_MWH/modules/features/weblogic.server.modules_10.3.3.0.jar:/odrive/oracle/oim11g_MWH/wlserver_10.3/server/lib/webservices.jar:/odrive/oracle/oim11g_MWH/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/odrive/oracle/oim11g_MWH/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.jar:/odrive/oracle/oim11g_MWH/oracle_common/soa/modules/commons-cli-1.1.jar:/odrive/oracle/oim11g_MWH/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/odrive/oracle/oim11g_MWH/Oracle_IDM1/oam/agent/modules/oracle.oam.wlsagent_11.1.1/oam-wlsagent.jar:/odrive/oracle/oim11g_MWH/oracle_common/modules/oracle.xdk_11.1.0/xsu12.jar:/odrive/oracle/oim11g_MWH/modules/features/weblogic.server.modules.xquery_10.3.1.0.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/db2jcc4.jar:/odrive/oracle/oim11g_MWH/user_projects/domains/oim11g_domain/config/soa-infra:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/fabric-url-handler_11.1.1.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/quartz-all-1.6.5.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:/odrive/oracle/oim11g_MWH/Oracle_SOA1/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:/odrive/oracle/oim11g_MWH/Oracle_IDM1/server/lib/oim-manifest.jar:/odrive/oracle/oim11g_MWH/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/odrive/oracle/oim11g_MWH/wlserver_10.3/common/derby/lib/derbyclient.jar:/odrive/oracle/oim11g_MWH/wlserver_10.3/server/lib/xqrl.jar:.:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar -d /tmp/oracle/oim/adapters /tmp/oracle/oim/adapters/adpADCSCHECKPROCESSPARENTORG.java
    As you may see, neither import com.thortech.xl.dataobj nor import com.thortech.xl.remotemanager are defined in classpath.
    Does anybody know where could I configure the adapter compilation classpath?

    adding the following line to the server launch script did the trick:
    export CLASSPATH=$CLASSPATH:$OIM_ORACLE_HOME/server/lib/xlDataObjects.jar:$OIM_ORACLE_HOME/server/lib/xlRemoteManager.jar

  • Adapter compilation error

    Hi Experts,
    I am trying to create a simple adapter with only one 'SET VARIABLE' task which is returning a literal '0'. But I am getting compilation error.
    [2012-05-06T07:44:07.156+00:00] [oim_server1] [ERROR] [] [XELLERATE.ADAPTERS] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 34eea5fc76281eb7:-4f1fdf59:13720a60940:-8000-0000000000000802,0] [APP: oim#11.1.1.3.0] Class/Method: tcAdpUtils/genXellerateAdapter encounter some problems: /tmp/oracle/oim/adapters/adpTEST.java (No such file or directory)[[
    java.io.FileNotFoundException: /tmp/oracle/oim/adapters/adpTEST.java (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at java.io.FileWriter.<init>(FileWriter.java:73)
    at com.thortech.xl.dataobj.util.tcAdpUtils.genXellerateAdapter(tcAdpUtils.java:1367)
    at com.thortech.xl.dataobj.util.tcAdpUtils.createAdapter(tcAdpUtils.java:6857)
    at com.thortech.xl.dataobj.tcADP.createAdapter(tcADP.java:469)
    at com.thortech.xl.dataobj.tcADP.eventPreUpdate(tcADP.java:426)
    at com.thortech.xl.dataobj.tcDataObj.update(tcDataObj.java:633)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:508)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2906)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(tcDataObjectBase.java:177)
    at com.thortech.xl.ejb.interfaces.tcADPEJB.savex(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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy326.savex(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl.savex(Unknown Source)
    at com.thortech.xl.ejb.interfaces.tcADP_3uwi2l_tcADPRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    [2012-05-06T07:44:07.157+00:00] [oim_server1] [ERROR] [] [XELLERATE.ADAPTERS] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 34eea5fc76281eb7:-4f1fdf59:13720a60940:-8000-0000000000000802,0] [APP: oim#11.1.1.3.0] Class/Method: tcAdpUtils/createAdapter encounter some problems: Code Generation Failed For 'Test' adapter
    [2012-05-06T07:45:15.368+00:00] [oim_server1] [NOTIFICATION] [IAM-1020004] [oracle.iam.scheduler.impl.quartz] [tid: OIMQuartzScheduler_Worker-6] [userId: oiminternal] [ecid: 34eea5fc76281eb7:-4f1fdf59:13720a60940:-8000-0000000000000003,0] [APP: oim#11.1.1.3.0] Job Listener, Job to be executed Description null FullName DEFAULT.Issue Audit Messages Task Name Issue Audit Messages Task
    I checked few forums for this and have set XL.CompilerPath to jdk/bin. Also, JAVA_HOME has been set to jdk6 (not bin).
    Please provide some pointers for resolution.
    Thanks,
    Rahul

    Thanks Rajiv. I, in fact, did same for resolution as there was a reference to a directory in logs under /tmp but I wasn't able to find it. Cleaning up /tmp did the trick.

  • Java Adapter Compile Error - Missing Libraries

    I am trying to convert my project from being deployed on Flex Data Services 2 To LiveCycle Data Services. I dont know very much about java and have hit a snag when trying to recompile my custom java adaptor.
    It compiles fine under a FDS2 project, but when compiled under a LCDS deployment on JRun, Eclipse gives me the following error when trying to compile:
    Project PTSChat_Java is missing required library: lib/commons-codec.jar
    Project PTSChat_Java is missing required library: lib/commons-httpclient.jar
    The project cannot be built until build path errors are resolved
    It appears that the libraries have been renamed to commons-codec-1.3.jar & commons-httpclient-3.0.1.jar in LCDS, but I am not sure where to update these references? They are not direct library imports in my java code.
    As a shot in the dark, I tried just copying the old FDS2 libraries back over to the WEB-INF\lib\ DIR since there are named differently. It resolved the missing library error, but then I got a compile error with service cannot be resolved in references to my MessageService msgService = (MessageService) service; java code. I quickly realized this is not the correct path to head down.
    Does anyone have any clues what I may be doing wrong? Any help is much appreciated.
    Thanks!

    I resovled the problems I was having.
    I was able to figure out how to change the library linking in eclipse and switched the commons-codec-1.3.jar & commons-httpclient-3.0.1.jar in the place of commons-codec.jar & commons-httpclient.jar libraries previously used with the project (properties:libraries).
    I was not able to correct the service cannot be resolved. Everything I did kept crashing and dropping my connection tot he channel. I ended up just switching the code in my java adapter from:
    MessageService msgService = (MessageService) service
    to
    MessageBroker broker = MessageBroker.getMessageBroker(null);
    MessageService msgService = (MessageService) broker.getService("message-service");
    This appears to be working as desired for my use of the java adapter for the session management & logging. I am not really certain why the "service" became undefined between FDS2 & LCDS, something must have been depreciated or changed around.

  • ORM OIM Integration, adapter compile error.

    Hi there,
    I tried to set up ORM OIM integration. After importing ormoimBase.xml, I noticed the 'CODE GEN ERROR. See notes.' in the Compile Status for the two adpaters imported (orm_create_update_123 and orm_adpt_delete_123).
    Anyone had the same issue? suggestions?
    Thanks.

    I have the same issue in OIM-ORM integration error and the strange thing is that user details from OIM to ORM are reflecting fine but when i make any change in User detail in ORM it is not reflecting...is this the way integration works or i have some error in configuration?

  • Adaptor Compilation Issue

    Hi,
    We are facing issue during compile of adeptor which is dependent on jar file(suppose A.jar) in javatasks folder.
    There is one more adaptor which is dependent on this same A.jar file which is compiling fine,it means there is no issue with A.jar file.
    please tell me what other issue could be possible forcompilation error if jar file is working fine.
    error log:- i am facing
    DEBUG,22 Feb 2012 22:35:48,240,[XELLERATE.DATABASE],select * from adm where atp_key = 3650
    DEBUG,22 Feb 2012 22:35:48,249,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,22 Feb 2012 22:35:48,249,[XELLERATE.DATABASE],DB read: select pty_value from PTY where pty_system = '1' and pty_keyword = 'XL.CompilerPath'
    DEBUG,22 Feb 2012 22:35:48,250,[XELLERATE.DATABASE],select pty_value from PTY where pty_system = '1' and pty_keyword = 'XL.CompilerPath'
    ERROR,22 Feb 2012 22:35:59,200,[XELLERATE.JAVACLIENT],Class/Method: tcDataBaseClient/recoverConnection encounter some problems: {1}
    java.lang.NullPointerException
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBaseClient.bindToInstance(Unknown Source)
         at com.thortech.xl.client.dataobj.tcDataBaseClient.recoverConnection(Unknown Source)
         at com.thortech.xl.client.dataobj.tcDataBaseClient.getInterface(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBaseClient.close(Unknown Source)
         at com.thortech.xl.server.tcDataBaseClient.close(Unknown Source)
         at com.thortech.xl.server.tcDataBaseClient.finalize(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)
    ERROR,22 Feb 2012 22:35:59,201,[XELLERATE.JAVACLIENT],Class/Method: tcDataBaseClient/getInterface encounter some problems: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=Xellerate, module=xlDataObjectBeans.jar, ejb=tcDataBase, method=isOpen, methodInterface=Remote, signature={}.
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=Xellerate, module=xlDataObjectBeans.jar, ejb=tcDataBase, method=isOpen, methodInterface=Remote, signature={}.
         at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsRemote(MethodDescriptor.java:560)
         at weblogic.ejb.container.internal.BaseRemoteObject.checkMethodPermissions(BaseRemoteObject.java:115)
         at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:272)
         at weblogic.ejb.container.internal.StatefulRemoteObject.preInvoke(StatefulRemoteObject.java:57)
         at com.thortech.xl.ejb.beans.tcDataBase_vhi04i_EOImpl.isOpen(tcDataBase_vhi04i_EOImpl.java:397)
         at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy59.isOpen(Unknown Source)
         at com.thortech.xl.client.dataobj.tcDataBaseClient.getInterface(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBaseClient.close(Unknown Source)
         at com.thortech.xl.server.tcDataBaseClient.close(Unknown Source)
         at com.thortech.xl.server.tcDataBaseClient.finalize(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)
    then it shows complete java file(xellerate/adeptors folder) which generally get create when we compile any adaptor.
    for e.g if adaptor name is "tree" then it will create adptree.java file in adaptor folder.
    please help me out to get me out of it.
    Regrads
    Vinayak Garg

    Hi,
    it is not mandatory both adapter compiled because you are using different method in adapter.
    As per your log you are connecting to database in that method that creates problem.
    Regards,
    S

  • Is java a compiled language - part 2

    yamm_v6.6_6 said
    Again, I think you are confusing the compilation process and the interpretation process with the meaning of "compiled language" and "interpreted language", mr. jschell. Compilation process and interpretation process have definitions very well established in the Computer Science, as you said, and I agree with you. There are no controversies in those definitions. On the other hand, the meaning of "compiled language" and "interpreted language" might vary, because in this case there are controversiesNo.
    Compilers are one of the most well studied and well defined aspects of computer science more so than any other part of computer science.
    And the Dragon book is now, and has been for at least 20 years, the recognized authoratative source of that part of computer science.
    And there is nothing in there that supports your conclusion nor nothing that supports your term definitions.
    A language in of itself is never compiled nor interpreted. That book specifically defines the process under which a language must be processed to become either compiled and/or interpreted.
    If you wish to disagree with that then state something from that book or first demonstrate that that book is no longer the authorative source.
    Finally note that in terms of computer science none of the java documents (specifications or otherwise) are suitable authoratative sources. The java specifications although adequate are far from precise in the adherence to definitions in computer science, or even in the definition of java itself.

    Wow! I was just googling, and then look at what I found! This thread! Thanks, mr jschell, for your replies. I really appreciate them.
    jschell wrote:
    Finally note that in terms of computer science none of the java documents (specifications or otherwise) are suitable authoratative sources. The java specifications although adequate are far from precise in the adherence to definitions in computer science, or even in the definition of java itself.Well, do you want authoritative sources, right? How about this:
    [_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc[_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
    +The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
    [_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
    +Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
    [_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
    +Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
    [_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
    +One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
    [_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
    +Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
    [_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
    +Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+

  • AD Connector Error on Weblogic Cluster

    hia all,
    I have clustered deployment of oim 11g(11.1.1.5) in four node weblogic cluster 10.3.5
    While installing ADConnector 9.1.1.7.0 (copied on all 4 nodes at same location) we got following error
    DOBJ.EVT_INTERNAL_ERROR
    Adapter Compilation Failure Bulk Exception
    and in description it says (for the third task)
    X Compilation of Adapter Definitions >(Failed)
    Is there any way to have it fixed? do we need to set the XL.compilerPath uptill the the \bin of the jrockit? (it is not getting unset / blank once its set, compulsory value). I have also set the limits.config settings in linux to max, since I get "Too many files open" error in the OIM diagnostic log. following is the log
    [2011-09-13T11:50:24.705+03:00] [WLS_OIM1] [ERROR] [] [XELLERATE.ADAPTERS] [tid: [ACTIVE].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: fb6bd901a067fe70:-ecef39c:13261f64416:-8000-00000000000015e0,0] [APP: oim#11.1.1.3.0] Class/Method: tcADP/createAdapter encounter some problems: /tmp/oracle/oim/adapters/adpADCSLOCK_UNLOCKUSER.java (Too many open files)[[
    java.io.FileNotFoundException: /tmp/oracle/oim/adapters/adpADCSLOCK_UNLOCKUSER.java (Too many open files)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileReader.<init>(FileReader.java:55)
    at com.thortech.xl.dataobj.util.tcAdpUtils.compileAdapter(tcAdpUtils.java:3853)
    at com.thortech.xl.dataobj.util.tcAdpUtils.createAdapter(tcAdpUtils.java:6864)
    at com.thortech.xl.dataobj.tcADP.createAdapter(tcADP.java:469)
    at com.thortech.xl.dataobj.tcADP.eventPreUpdate(tcADP.java:426)
    at com.thortech.xl.dataobj.tcDataObj.update(tcDataObj.java:633)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:508)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2906)
    at com.thortech.xl.ejb.beansimpl.tcAdapterOperationsBean.compileAdapter(tcAdapterOperationsBean.java:156)
    at Thor.API.Operations.tcAdapterOperationsIntfEJB.compileAdapterx(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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy414.compileAdapterx(Unknown Source)
    at Thor.API.Operations.tcAdapterOperationsIntf_za74bh_tcAdapterOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcAdapterOperationsIntf_za74bh_tcAdapterOperationsIntfRemoteImpl.compileAdapterx(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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy154.compileAdapterx(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(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy413.compileAdapterx(Unknown Source)
    at Thor.API.Operations.tcAdapterOperationsIntfDelegate.compileAdapter(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcImportOperationsBean.compileImportedAdapters(tcImportOperationsBean.java:1251)
    at com.thortech.xl.ejb.beansimpl.tcImportOperationsBean.performImport(tcImportOperationsBean.java:1154)
    at Thor.API.Operations.tcImportOperationsIntfEJB.performImportx(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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy403.performImportx(Unknown Source)
    at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl.performImportx(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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy408.performImportx(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(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy409.performImportx(Unknown Source)
    at Thor.API.Operations.tcImportOperationsIntfDelegate.performImport(Unknown Source)
    at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.importXmlForInstallation(ConnectorInstallProcessAction.java:709)
    at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.completeInstallation(ConnectorInstallProcessAction.java:209)
    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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(tcLookupDispatchAction.java:133)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(tcActionBase.java:894)
    at com.thortech.xl.webclient.actions.tcAction.execute(tcAction.java:213)
    at com.thortech.xl.webclient.actions.ConnectorInstallProcessAction.execute(ConnectorInstallProcessAction.java:108)
    at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
    at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
    at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.CSRFFilter.doFilter(CSRFFilter.java:76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    any comments?

    Ok ... i have resolved the issue, the problem was traced back to the change of access permissions in the Linux. the weblogic "nodemanager" was being started as root user this was changing the permissions on the folders and files in the /home/oracle. so I changed the startup of nodemanager from root to oracle and with some other changes the objective was achieved..... :)
    Edited by: 828703 on Sep 22, 2011 3:49 AM

  • Web service and ejp enterprise in JBoss

    Is Java a compiled language?
    Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&tstart=0] and give your opinion, too! You are very welcome in this interesting discussion. The more I participate in this forum, the more I learn. The more you participate the more you learn, too! Thank you very much for this forum, Sun!
    [_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
    +The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
    [_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
    +Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
    [_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
    +Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
    [_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
    +One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
    [_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
    +Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
    [_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
    +Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+
    [_Introduction to scripting in Java, Part 1_|http://www.javaworld.com/javaworld/jw-07-2007/jw-07-awscripting1.html?page=2]
    +Many of today's interpreted languages are not interpreted purely. Rather, they use a hybrid compiler-interpreter approach, as shown in Figure 1.3.+
    +In this model, the source code is first compiled to some intermediate code (such as Java bytecode), which is then interpreted. This intermediate code is usually designed to be very compact (it has been compressed and optimized). Also, this language is not tied to any specific machine. It is designed for some kind of virtual machine, which could be implemented in software. Basically, the virtual machine represents some kind of processor, whereas this intermediate code (bytecode) could be seen as a machine language for this processor.+
    +This hybrid approach is a compromise between pure interpreted and compiled languages, due to the following characteristics:+
    Because the bytecode is optimized and compact, interpreting overhead is minimized compared with purely interpreted languages.
    The platform independence of interpreted languages is inherited from purely interpreted languages because the intermediate code could be executed on any host with a suitable virtual machine.
    Lately, just-in-time compiler technology has been introduced, which allows developers to compile bytecode to machine-specific code to gain performance similar to compiled languages. I mention this technology throughout the book, where applicable.
    [_Compiled versus interpreted languages_|http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zappldev.doc/zappldev_85.html]
    Assembler, COBOL, PL/I, C/C&#43;&#43; are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed.
    Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs.
    +Some programming languages, such as REXX and Java, can be either interpreted or compiled.+

    Is Java a compiled language?
    Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&tstart=0] and give your opinion, too! You are very welcome in this interesting discussion. The more I participate in this forum, the more I learn. The more you participate the more you learn, too! Thank you very much for this forum, Sun!
    [_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
    +The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
    [_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
    +Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
    [_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
    +Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
    [_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
    +One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
    [_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
    +Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
    [_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
    +Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+
    [_Introduction to scripting in Java, Part 1_|http://www.javaworld.com/javaworld/jw-07-2007/jw-07-awscripting1.html?page=2]
    +Many of today's interpreted languages are not interpreted purely. Rather, they use a hybrid compiler-interpreter approach, as shown in Figure 1.3.+
    +In this model, the source code is first compiled to some intermediate code (such as Java bytecode), which is then interpreted. This intermediate code is usually designed to be very compact (it has been compressed and optimized). Also, this language is not tied to any specific machine. It is designed for some kind of virtual machine, which could be implemented in software. Basically, the virtual machine represents some kind of processor, whereas this intermediate code (bytecode) could be seen as a machine language for this processor.+
    +This hybrid approach is a compromise between pure interpreted and compiled languages, due to the following characteristics:+
    Because the bytecode is optimized and compact, interpreting overhead is minimized compared with purely interpreted languages.
    The platform independence of interpreted languages is inherited from purely interpreted languages because the intermediate code could be executed on any host with a suitable virtual machine.
    Lately, just-in-time compiler technology has been introduced, which allows developers to compile bytecode to machine-specific code to gain performance similar to compiled languages. I mention this technology throughout the book, where applicable.
    [_Compiled versus interpreted languages_|http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zappldev.doc/zappldev_85.html]
    Assembler, COBOL, PL/I, C/C&#43;&#43; are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed.
    Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs.
    +Some programming languages, such as REXX and Java, can be either interpreted or compiled.+

  • I can�t understand this

    Is Java a compiled language?
    Actually, Java is a compiled/interpreted language. See the links below. This is the best classification for the Java language, in my opinion. Read [_this thread_|http://forums.sun.com/thread.jspa?threadID=5320643&start=0&tstart=0] and give your opinion, too! You are very welcome in this interesting discussion. The more I participate in this forum, the more I learn. The more you participate the more you learn, too! Thank you very much for this forum, Sun!
    [_CLDC HotSpot Implementation Architecture Guide Chapter 10_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/VFP.html]
    +The 1.1.3 release of CLDC HotSpot Implementation included limited VFP support. This feature was supported only when running in interpreted mode. In this release, full vector floating point support is provided when the virtual machine is running in compiled mode.+
    [_Java Virtual Machines_|http://java.sun.com/j2se/1.4.2/docs/guide/vm/index.html]
    +Adaptive compiler - Applications are launched using a standard interpreter, but the code is then analyzed as it runs to detect performance bottlenecks, or "hot spots". The Java HotSpot VMs compile those performance-critical portions of the code for a boost in performance, while avoiding unnecessary compilation of seldom-used code (most of the program). The Java HotSpot VMs also usesthe adaptive compiler to decide, on the fly, how best to optimize compiled code with techniques such as in-lining. The runtime analysis performed by the compiler allows it to eliminate guesswork in determining which optimizations will yield the largest performance benefit.+
    [_CLDC HotSpot Implementation Architecture Guide Chapter 4_|http://java.sun.com/javame/reference/docs/cldc-hi-2.0-web/doc/architecture/html/DynamicCompiler.html]
    +Two different compilers are contained in the CLDC HotSpot Implementation virtual machine: an adaptive, just-in-time (JIT) compiler and an ahead-of-time compiler. The JIT compiler is an adaptive compiler, because it uses data gathered at runtime to decide which methods to compile. Only the methods that execute most frequently are compiled. The other methods are interpreted by the virtual machine.+
    [_Java Tuning White Paper_|http://java.sun.com/performance/reference/whitepapers/tuning.html]
    +One of the reasons that it's challenging to measure Java performance is that it changes over time. At startup, the JVM typically spends some time "warming up". Depending on the JVM implementation, it may spend some time in interpreted mode while it is profiled to find the 'hot' methods. When a method gets sufficiently hot, it may be compiled and optimized into native code.+
    [_Frequently Asked Questions About the Java HotSpot VM_|http://java.sun.com/docs/hotspot/HotSpotFAQ.html]
    +Remember how HotSpot works. It starts by running your program with an interpreter. When it discovers that some method is "hot" -- that is, executed a lot, either because it is called a lot or because it contains loops that loop a lot -- it sends that method off to be compiled. After that one of two things will happen, either the next time the method is called the compiled version will be invoked (instead of the interpreted version) or the currently long running loop will be replaced, while still running, with the compiled method. The latter is known as "on stack replacement", or OSR.+
    [_Java Technology Fundamentals Newsletter Index - Making Sense of the Java Classes & Tools: Collection Interfaces, What's New in the Java SE 6 Platform Beta 2, and More_|http://java.sun.com/mailers/newsletters/fundamentals/2006/July06.html]
    +Java: A simple, object-oriented, network-savvy, interpreted, robust, secure, architecture neutral, portable, high- performance, multithreaded, dynamic language.+
    [_Introduction to scripting in Java, Part 1_|http://www.javaworld.com/javaworld/jw-07-2007/jw-07-awscripting1.html?page=2]
    +Many of today's interpreted languages are not interpreted purely. Rather, they use a hybrid compiler-interpreter approach, as shown in Figure 1.3.+
    +In this model, the source code is first compiled to some intermediate code (such as Java bytecode), which is then interpreted. This intermediate code is usually designed to be very compact (it has been compressed and optimized). Also, this language is not tied to any specific machine. It is designed for some kind of virtual machine, which could be implemented in software. Basically, the virtual machine represents some kind of processor, whereas this intermediate code (bytecode) could be seen as a machine language for this processor.+
    +This hybrid approach is a compromise between pure interpreted and compiled languages, due to the following characteristics:+
    Because the bytecode is optimized and compact, interpreting overhead is minimized compared with purely interpreted languages.
    The platform independence of interpreted languages is inherited from purely interpreted languages because the intermediate code could be executed on any host with a suitable virtual machine.
    Lately, just-in-time compiler technology has been introduced, which allows developers to compile bytecode to machine-specific code to gain performance similar to compiled languages. I mention this technology throughout the book, where applicable.
    [_Compiled versus interpreted languages_|http://publib.boulder.ibm.com/infocenter/zoslnctr/v1r7/index.jsp?topic=/com.ibm.zappldev.doc/zappldev_85.html]
    Assembler, COBOL, PL/I, C/C+ are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed.+
    Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs.
    +Some programming languages, such as REXX and Java, can be either interpreted or compiled.+

    why this ; after the condition?
    and why do you put else + condition? Maybe you want to put else if?
    try this:
      if (a.length() == 1) {  // I always open and close { } to make my code more readable and avoid errors
        a = "0" + a;
      } else if (a.length() == 3) {
        a = a.substring(1, 3);
      }Hope this helps
    Zerjio

  • Trying to integrate ad

    Hi all,
    i am trying to do installation of active directory in oim and getting an error ..this is on windows server 2008 , if anymore information is needed please leave me a message and i will update that ...
    Thanks in advance.
    DOB.EVT_INTERNAL_ERROR
    ADAPTER COMPILATION FAILURE BULK EXCEPTION
    Message was edited by: c3c145e9-be30-47a8-be3d-0158fa04fd7b

    Hi all,
    i am trying to do installation of active directory in oim and getting an error ..this is on windows server 2008 , if anymore information is needed please leave me a message and i will update that ...
    Thanks in advance.
    DOB.EVT_INTERNAL_ERROR
    ADAPTER COMPILATION FAILURE BULK EXCEPTION
    Message was edited by: c3c145e9-be30-47a8-be3d-0158fa04fd7b

  • Problems while compiling a project that uses Database Adapter

    Hi,
    I am working on a small WebService that uses the Database Adapter to connect with the Oracle-Lite database. The process is a synchronous process which has client and DatabaseService as the partner link. The goal of this project is to get two inputs from the user and send it over to the DatabaseService for it to select the rows from the table based on the inputs sent. The process activity has an invoke function which had two varibles Invoke_1_inputVarible and Invoke_1_outputVarible. I have included the *.xds that contains the database schema. When I compile the project i get the following error
    Error(38): [Error ORABPEL-10035]: wrong messageType [Description]: in line 38 of "D:\OraBPELPM_2\integration\jdev\jdev\mywork\Workspace1\Login\Login.bpel", messageType "{http://xmlns.oracle.com/pcbpel/adapter/db/ds/}EmployeeRole_msg" of variable "Invoke_1_dsSelect_InputVariable" does not match the expected messageType "{http://xmlns.oracle.com/pcbpel/adapter/db/ds/}dsSelect_inparameters" in <invoke>. [Potential fix]: make sure the correct variable is used in invoke.
    My question is how do I assign correct messageType for the variables.
    XSD File:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login" elementFormDefault="unqualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="EmployeeRoleCollection" type="EmployeeRoleCollection"/>
    <xs:element name="EmployeeRole" type="EmployeeRole"/>
    <xs:complexType name="EmployeeRoleCollection">
    <xs:sequence>
    <xs:element name="EmployeeRole" type="EmployeeRole" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EmployeeRole">
    <xs:sequence>
    <xs:element name="empid" type="xs:decimal" minOccurs="0" nillable="true"/>
    <xs:element name="password" type="xs:string" minOccurs="0" nillable="true"/>
    <xs:element name="role" type="xs:string" minOccurs="0" nillable="true"/>
    <xs:element name="uid" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="findAllInputParameters" type="findAll"/>
    <xs:complexType name="findAll">
    <xs:sequence/>
    </xs:complexType>
    <xs:element name="dsSelectInputParameters" type="dsSelect"/>
    <xs:complexType name="dsSelect">
    <xs:sequence/>
    </xs:complexType>
    </xs:schema>
    DatabaseService.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login"
    schemaLocation="EmployeeRole_table.xsd"/>
    </schema>
    </types>
    <message name="EmployeeRoleCollection_msg">
    <part name="EmployeeRoleCollection" element="top:EmployeeRoleCollection"/>
    </message>
    <message name="dsSelect_inparameters">
    <part name="dsSelect_inparameters" element="top:dsSelectInputParameters"/>
    </message>
    <message name="EmployeeRole_msg">
    <part name="EmployeeRole" element="top:EmployeeRole"/>
    </message>
    <portType name="ds_ptt">
    <operation name="dsSelect">
    <input message="tns:dsSelect_inparameters"/>
    <output message="tns:EmployeeRoleCollection_msg"/>
    </operation>
    <operation name="queryByExample">
    <input message="tns:EmployeeRole_msg"/>
    <output message="tns:EmployeeRoleCollection_msg"/>
    </operation>
    </portType>
    <binding name="ds_binding" type="tns:ds_ptt">
    </binding>
    <service name="ds">
    <port name="ds_pt" binding="tns:ds_binding">
    <jca:address location="eis/DB/BPELSamples"
    />
    </port>
    </service>
    </definitions>
    <b>Login.bpel</b>
    <process name="Login" targetNamespace="http://xmlns.oracle.com/Login" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/ds/" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/top/Login" xmlns:client="http://xmlns.oracle.com/Login" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:Login" myRole="LoginProvider"/>
    <partnerLink name="PartnerLink_1" partnerRole="ds_role" partnerLinkType="ns1:ds_plt"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:LoginRequestMessage"/>
    <variable name="outputVariable" messageType="client:LoginResponseMessage"/>
    <variable name="Invoke_1_dsSelect_InputVariable" messageType="ns1:EmployeeRole_msg"/>
    <variable name="Invoke_1_dsSelect_OutputVariable" messageType="ns1:EmployeeRoleCollection_msg"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:Login" operation="process" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="Invoke_1_dsSelect_InputVariable" query="/ns2:EmployeeRole"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="PartnerLink_1" portType="ns1:ds_ptt" operation="dsSelect" inputVariable="Invoke_1_dsSelect_InputVariable" outputVariable="Invoke_1_dsSelect_OutputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_1_dsSelect_OutputVariable" part="EmployeeRoleCollection"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:Login" operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    Thanks,
    Niv

    Help! SOS....
    Niv

  • File Adapter - WinXP at compile time, Unix at run time

    Regarding File Adapter - WinXP at compile time, Unix at run time
    I want to specify polling of a directory using Unix type directory notation but this doesn't compile under windows. (I'll read up re. logical directories)
    Has anyone done polling of a unix directory using BPEL (but compiled this under windows JDeveloper)?
    thanks,
    Allan

    Using a logical directory should help you with this problem.

  • JSP compilation error, IOException, can not output (Urgent)

              Hi,
              I met the error that Weblogic can compile the jsp to a temporary java file but can
              not compile the temporary java file to class file, it said java.io.IOException, anybody
              can tell why?
              Thanks a millon!
              

              Your system does not have enough swap space to run the JSP compiler.
              Add swap space.
              Mike
              "dai shui" <[email protected]> wrote:
              >
              >Hi,
              >I met the error that Weblogic can compile the jsp to a
              >temporary java file but can
              >not compile the temporary java file to class file, it
              >said java.io.IOException, anybody
              >can tell why?
              >
              >Thanks a millon!
              

  • SOAP Adapter: java.io.IOException: unable to create a socket

    Hi,
    I am trying to use the soap adapter to connect to a URL and post a document. When I try, the adapter throws the following
    java.io.IOException: unable to create a socket
    Does anyone know what causes this?
    I get it both with the SOAP Envelope turned on and off.
    I am trying to post to a URL that is usually used for straight HTTPS posts, could this cause an issue? The only reason we are using the SOAP adapter is to be able to send attachments! Hence, SOAP adapter, no SOAP envelope.
    Kind Regard,
    Chris

    Hi,
    Had faced the same issue. The possible reasons were :
    1. Either the target server might not be responding.
    2. The Target URL configured in the communication channel might be wrong.
    3. The port to which the message is being sent might not be opened which you need to cross-verify.
    For me the issue was the port, which wasn't enabled from our end. The messages went past successfully once it was enabled.
    Cheers!!
    Jithin James.

Maybe you are looking for