Stubs in papi-ws

Hi all,
Actually,I am trying to write a papi-ws code in java.I imported some packages relating to stubs....I wrote:
import stubs.InstanceInfoBean;
import stubs.InstanceInfoBeanList;
import stubs.OperationException_Exception;
import stubs.PapiWebService;
import stubs.PapiWebService_Service;
import stubs.StringListBean;
But my java is not able to resolve i imported fuegopapi-client.jar....but even then i am not able to help myself.
Can anybody help.....its urgent...........please help?

Thanks for that Dan.........But i need to use Papi-ws...........I am able to get instances using Papi.....But now i want to do it using Papi-ws...........Actually i m able to do that also...........I downloaded ant and compiled my some programs using ant which i was able to do.........but i was not able to generate stubs for papi-ws.........and then i found a zip on internet and i imported stubs.jar from there and i got my code free of errors....but even then i was not through..........now i am running the downloaded code using ant in command line.......and i am able to get process instances in cmd from studio workspace.........and now i want to create process instances from Papi-ws rather than from worksapce which i m not able to do..........kindly share if u hv somrthing regarding that.........Thanks Once again........

Similar Messages

  • Problem using PAPI-WS for external process notifcation

    Hello,
    I'm trying to have an external Java application send a process notification using PAPI-WS.
    I have a process instance currently sitting at a notifcation wait step (configured to wait for an external notification) but each time I call processSendNotification I get the an unspported operation exception. I'm not even sure this is the correct ws operation to use but looking at the PAPI API reference it seemed the most likely.
    Below is a snippet from the code I'm testing this with and the corresponding output including the exception:
    for (InstanceInfoBean instance : instances.getInstances())
    String waitStep = "WaitForDelivery";
    System.out.println("-> process id = " + instance.getId());
    // find which instance are waiting on delivery
    if (waitStep.equals(instance.getActivityName()))
    System.out.println(" -> " + instance.getAuthor() + " is waiting on delivery!");
    papiWebServicePort.processSendNotification(instance.getId(), waitStep, null, null);
    Process: WhatToHave
    -> process id = /WhatToHave#Default-1.0/2/0
    -> process id = /WhatToHave#Default-1.0/1/0
    -> Andy is waiting on delivery!
    Could not perform the requested operation
    stubs.OperationException_Exception: The BEA AquaLogic® BPM Engine version does not support the required operation.Please ask BEA AquaLogic® BPM Administrator for assistance.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:127)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:254)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
         at $Proxy31.processSendNotification(Unknown Source)
    I'm doing this all using BPM Studio 6.0.2 (build 85749) on Linux.
    Any help or pointers greatly appreciated,
    Thanks,
    Mike

    Hello,
    I'm trying to have an external Java application send a process notification using PAPI-WS.
    I have a process instance currently sitting at a notifcation wait step (configured to wait for an external notification) but each time I call processSendNotification I get the an unspported operation exception. I'm not even sure this is the correct ws operation to use but looking at the PAPI API reference it seemed the most likely.
    Below is a snippet from the code I'm testing this with and the corresponding output including the exception:
    for (InstanceInfoBean instance : instances.getInstances())
    String waitStep = "WaitForDelivery";
    System.out.println("-> process id = " + instance.getId());
    // find which instance are waiting on delivery
    if (waitStep.equals(instance.getActivityName()))
    System.out.println(" -> " + instance.getAuthor() + " is waiting on delivery!");
    papiWebServicePort.processSendNotification(instance.getId(), waitStep, null, null);
    Process: WhatToHave
    -> process id = /WhatToHave#Default-1.0/2/0
    -> process id = /WhatToHave#Default-1.0/1/0
    -> Andy is waiting on delivery!
    Could not perform the requested operation
    stubs.OperationException_Exception: The BEA AquaLogic® BPM Engine version does not support the required operation.Please ask BEA AquaLogic® BPM Administrator for assistance.
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:127)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:254)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
         at $Proxy31.processSendNotification(Unknown Source)
    I'm doing this all using BPM Studio 6.0.2 (build 85749) on Linux.
    Any help or pointers greatly appreciated,
    Thanks,
    Mike

  • OBPM Studio 10g R3: Create new process instance via PAPI

    Hi folks,
    I used JDeveloper to generate Java stubs off the PAPI WSDL. This works great and I'm able to list Processes similar to the bundled JAX-WS example just fine. Now I'd like to take it to the next level and create a process instance. I really appreciate your guidance on how to do that.
    Currently my process has a Global Creation Activity (screenflow) and the BeginIn mapping goes to an Automatic Activity.
    Questions:
    1) Is it possible to create a process instance in my case given that I have a Global Creation Activity ? Or if not, what changes do I need to make?
    2) Does anyone have any Java code examples for invoking the PAPI process instance creation code?
    In my case, I found a method in the stub that accepts three parameters - the process Id (String), an "ArgumentSetBean name (String), and an ArgumentBean, but I'm not sure what to fill in. :-)
    Thanks everyone!

    Hi,
    See if this helps -->
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessServiceSession;
    import fuego.papi.OperationException;
    import fuego.papi.Arguments;
    import fuego.papi.BatchOperationException;
    public class PAPIExample {
         public PAPIExample() {}
         public static void main(String[] args) throws OperationException, BatchOperationException {
              FuegoService fuegoServ = new FuegoService();
              ProcessServiceSession fuegoSession = fuegoServ.createSessionWithUsernameAndPassword("papi", "password");
              String processName = "/TestPAPI";
              Arguments arguments = Arguments.create();
              arguments.putArgument("argName", "GuessWhoIsHere");
              // First Way
              fuegoSession.processCreateInstance(processName, "In", arguments);
              // Second Way
              String globalActivity = "GlobalCreation";
              InstanceInfo instInfo = fuegoSession.activityExecuteApplication(globalActivity, processName, arguments);
              instInfo = fuegoSession.instanceRefresh(instInfo);
              fuegoSession.close();
    Edited by: Anup300684 on Jan 21, 2009 1:35 AM

  • Cannot print Check overflow on blank paper

    Dear all,
    We have an issue of check for payment.
    1) We are using stub-check-stub PLD (system)
    2) Administration >> System initialization >> Print preference >> Per document >> Check for payment:
    print on: check stock, overflow 'blank paper', number of copies '2', max lines '10'
    I suppose to have all invoices info on a blank paper instead of print on the check stub if the line number > 10.
    But actually, SAP print it on check stub.
    I am on SAP2007 SP01 PL09, SQL 2005, no 3rd party add-on, US localization (CA localization doesn't have this issue when I use the same PLD)
    Any idea? Thanks in advance.
    Yuka

    One more thing, I have a customer on SAP2007 PL45, he is fine on this issue. Not sure if this is a SAP bug on some specific PL. That customer's database is huge, I cannot download it to my local PC and test. Can I have someone test this issue?
    I cannot reproduce it on SBODemo DB as well. Is there anywhere I should check?
    Thanks in advance.
    Regards,
    Yuka
    Edited by: Jie Jin on Feb 8, 2010 7:07 PM

  • Fuego.papi.ProcessNotAvailableException

    Hi guys,
    I use the ALBPM 5.7 enterprise and I want to use PAPI.
    So, I got this code from my friend. He said that this code is correct.
    But it's not working now.
    I don't know what's wrong.
    "/Process" is started on the workspace portal and its version is really 2.0.
    "mih" user has the right authority to start the process.
    This code can make a session but after then the error appears.
    Thanks.
    my source code==========================================================
    package com.bpm.ucity;
    import java.util.Properties;
    import fuego.papi.Arguments;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    public class StartProcess {
         public StartProcess() {
              // TODO Auto-generated constructor stub
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String strProcessID          = "/Process";
              String strUserName          = "mih";
              String strPassword          = "1";
              ProcessService procServ = null;
              ProcessServiceSession procServSession = null;
              InstanceInfo instInfo = null;
              try {
                   Properties prop      = new Properties();
                   prop.setProperty(ProcessService.DIRECTORY_ID, "default");
                   prop.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "C:/bea/albpm5.7/j2eewl/conf/directory.properties");
                   prop.setProperty(ProcessService.WORKING_FOLDER, "C:/tmp");
                   prop.setProperty("java.naming.factory.initial","weblogic.jndi.WLInitialContextFactory");
                   prop.setProperty("java.naming.provider.url","t3://localhost:7001");     
                   procServ = ProcessService.create(prop);
                   // create session
                   procServSession = procServ.createSession(strUserName, strPassword, "localhost");
                   System.out.println ("procServSession => [" + procServSession + "]" );
                   // create process instance
                   Arguments arguments = Arguments.create();
                   System.out.println ("Arguments1111111111111111=======" + arguments);
                   System.out.println ("Here I am!!!!!!" );          
                   instInfo = procServSession.createProcessInstance(strProcessID, arguments);
                   System.out.println ("instInfo => [" + instInfo + "]" );
                   String strInstanceID = instInfo.getId();
                   System.out.println ("strInstanceID => [" + strInstanceID + "]" );
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   procServSession.close();
    error=================================================================
    procServSession => [abstract class fuego.papi.ProcessServiceSesion]
    Arguments1111111111111111=======fuego.papi.Arguments@8ceeea
    Here I am!!!!!!
    fuego.papi.ProcessNotAvailableException: cannot use process '/Process#Default-2.0'
    at fuego.papi.impl.ProcessServiceImpl.createProcess(ProcessServiceImpl.java:1756)
    at fuego.papi.impl.ProcessServiceImpl.access$2500(ProcessServiceImpl.java:142)
    at fuego.papi.impl.ProcessServiceImpl$SessionProcessLoader.load(ProcessServiceImpl.java:3822)
    at fuego.papi.impl.ProcessManager.get(ProcessManager.java:631)
    at fuego.papi.impl.ProcessServiceImpl.getProcess(ProcessServiceImpl.java:1138)
    at fuego.papi.impl.ProcessServiceNESessionImpl.getProcess(ProcessServiceNESessionImpl.java:1069)
    at fuego.papi.impl.ProcessServiceNESessionImpl.checkBeginPermissions(ProcessServiceNESessionImpl.java:2434)
    at fuego.papi.impl.ProcessServiceNESessionImpl.createProcessInstance(ProcessServiceNESessionImpl.java:1441)
    at fuego.papi.impl.ProcessServiceNESessionImpl.createProcessInstance(ProcessServiceNESessionImpl.java:1434)
    at com.bpm.ucity.StartProcess.main(StartProcess.java:55)
    Caused by: fuego.papi.impl.EngineNotAvailableException: cannot find 'BEA_WL_Engine' EJB in 'engines/BEA_WL_Engine'
    reason: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: check java.naming.factory.initial
    project EAR application program to be setted up and to be started
    at fuego.papi.impl.EngineNotAvailableException.cannotFindEJB(EngineNotAvailableException.java:83)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.getEngineHome(J2EEEngineAccessImpl.java:286)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.getSecureEngineInterface(J2EEEngineAccessImpl.java:348)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.createSecureEngine(J2EEEngineAccessImpl.java:158)
    at fuego.papi.impl.ProcessServiceImpl.createSecureEngine(ProcessServiceImpl.java:1280)
    at fuego.papi.impl.ProcessServiceNESessionImpl$2.run(ProcessServiceNESessionImpl.java:2140)
    at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1578)
    at fuego.papi.impl.ProcessServiceNESessionImpl.getSecureEngine(ProcessServiceNESessionImpl.java:2148)
    at fuego.papi.impl.ProcessServiceImpl.createProcess(ProcessServiceImpl.java:1709)
    ... 9 more
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as a
    n applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.getEngineHome(J2EEEngineAccessImpl.java:276)
    ... 16 more
    서버 동기화 정보에 대한 JMS Topic 연결이 일시적으로 중단되었습니다. 자세한 정보:주제 연결 팩토리 'XATopicConnectionFacto
    ry'을(를) 찾는 동안 오류가 발생했습니다.
    세부 사항:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    원인: Need to specify class name in environment or system property, or as an applet parameter, or in an application reso
    urce file: java.naming.factory.initial
    fuego.papi.impl.j2ee.JMSTopicLookUpException: 주제 연결 팩토리 'XATopicConnectionFactory'을(를) 찾는 동안 오류가 발생했습니다.
    Detail:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:649)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.run(J2EEEngineAccessImpl.java:540)
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as a
    n applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:640)
    ... 1 more
    서버 동기화 정보에 대한 JMS Topic 연결이 일시적으로 중단되었습니다. 자세한 정보:주제 연결 팩토리 'XATopicConnectionFacto
    ry'을(를) 찾는 동안 오류가 발생했습니다.
    세부 사항:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    원인: Need to specify class name in environment or system property, or as an applet parameter, or in an application reso
    urce file: java.naming.factory.initial
    fuego.papi.impl.j2ee.JMSTopicLookUpException: 주제 연결 팩토리 'XATopicConnectionFactory'을(를) 찾는 동안 오류가 발생했
    습니다.
    Detail:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet pa
    rameter, or in an application resource file: java.naming.factory.initial
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:649)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.run(J2EEEngineAccessImpl.java:540)
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as a
    n applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at fuego.papi.impl.j2ee.J2EEEngineAccessImpl$TopicSubscriberImpl.lookupTopic(J2EEEngineAccessImpl.java:640)
    ... 1 more

    Hi Ariel,
    You are right. I've got an error in my code using some wrong codes.
    I change my code like this.
    ================================================================
    package com.bpm.ucity;
    import java.util.Properties;
    import fuego.papi.Arguments;
    import fuego.papi.InstanceInfo;
    import fuego.papi.ProcessService;
    import fuego.papi.ProcessServiceSession;
    public class StartProcess {
         public StartProcess() {
              // TODO Auto-generated constructor stub
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String strProcessID          = "/Process";
              String strUserName          = "mih";
              String strPassword          = "1";
    //changed this part     
         Properties systemProperties = System.getProperties();
         systemProperties.setProperty ("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
         systemProperties.setProperty("java.naming.provider.url", "t3://localhost:7001");
              ProcessService procServ = null;
              ProcessServiceSession procServSession = null;
              InstanceInfo instInfo = null;
              try {     
                   Properties prop      = new Properties();
                   prop.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE, "C:/bea/albpm5.7/j2eewl/conf/directory.properties");
                   procServ = ProcessService.create(prop);
                   // create session
                   procServSession = procServ.createSession(strUserName, strPassword, "localhost");
                   System.out.println ("procServSession => [" + procServSession + "]" );
                   // create process instance
                   Arguments arguments = Arguments.create();
                   instInfo = procServSession.createProcessInstance(strProcessID, arguments);
                   System.out.println ("instInfo => [" + instInfo + "]" );
                   String strInstanceID = instInfo.getId();
                   System.out.println ("strInstanceID => [" + strInstanceID + "]" );
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   procServSession.close();
    ================================================================
    and I put weblogic.jar path into the classpath.
    After that, I can get a new process instance, but I've got some errors up to now.
    I think the error is not caused by the code.
    How do you think about it?
    error====================================================
    JMS Topic 엔진에 가입하는 동안 오류가 발생했습니다. reason:'While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved ''
    cause by: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved ''
    javax.naming.NameNotFoundException: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved '' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved '']; remaining name 'java:comp/UserTransaction'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:215)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
         at weblogic.jndi.internal.ServerNamingNode_923_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:379)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at fuego.connector.impl.UserTransactionProvider.createForServlets(UserTransactionProvider.java:50)
         at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.createTopicSubcriber(J2EEEngineAccessImpl.java:381)
         at fuego.papi.impl.j2ee.J2EEEngineAccessImpl.<init>(J2EEEngineAccessImpl.java:80)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at fuego.prefs.engine.EngineType.createObject(EngineType.java:218)
         at fuego.prefs.engine.EngineType.createEngineAccess(EngineType.java:211)
         at fuego.papi.impl.EngineAccess.getEngineAccess(EngineAccess.java:176)
         at fuego.papi.impl.EngineAccess.getEngineAccess(EngineAccess.java:96)
         at fuego.papi.impl.ProcessServiceImpl.getEngineAccess(ProcessServiceImpl.java:983)
         at fuego.papi.impl.ProcessServiceImpl.createSecureEngine(ProcessServiceImpl.java:1280)
         at fuego.papi.impl.ProcessServiceNESessionImpl$2.run(ProcessServiceNESessionImpl.java:2140)
         at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1578)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getSecureEngine(ProcessServiceNESessionImpl.java:2148)
         at fuego.papi.impl.ProcessServiceImpl.createProcessControl(ProcessServiceImpl.java:1266)
         at fuego.papi.impl.ProcessServiceNESessionImpl$1.run(ProcessServiceNESessionImpl.java:1104)
         at fuego.papi.impl.ProcessServiceImpl.executeEngineOp(ProcessServiceImpl.java:1578)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getProcessControl(ProcessServiceNESessionImpl.java:1109)
         at fuego.papi.impl.InstanceCache.getInstancesByFilter(InstanceCache.java:496)
         at fuego.papi.impl.InstanceCache.getInstancesByFilter(InstanceCache.java:247)
         at fuego.papi.impl.ProcessServiceImpl.getInstancesByFilter(ProcessServiceImpl.java:1087)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getInstancesByFilter(ProcessServiceNESessionImpl.java:755)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getSortedInstancesByFilter(ProcessServiceNESessionImpl.java:2293)
         at fuego.papi.impl.ProcessServiceNESessionImpl.getInstancesByView(ProcessServiceNESessionImpl.java:810)
         at com.bpm.ucity.Inbox.main(Inbox.java:44)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'java:comp.UserTransaction' didn't find subcontext 'java:comp'. Resolved ''
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:553)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:443)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:439)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:61)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:983)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

  • PAPI-WS for different Participants

    Hi,
    I'm working on PAPI-WS for 6.0, a newer 2.0 release of this service. From docs I understand there is a webapp for PAPI-WS, so I'm generating stubs through WSDL from this web application.
    But, unlike earlier versions their are no methods to createSession or execute PAPI code against different identity. AXIS generated test cases which seems to be dependent on papiws authentication mechanism, probably what we set in directory.xml.
    Q: Any documents/samples on how to use PAPI-WS 2.0 with newer release, 6.0 and
    Q Whether their are any createSession method in new release, if not how to pass user's identity.
    Appreciate, for your time and response.
    Thanks, Ajit

    Ajit,
    In PAPI-WS 2.0 (ALBPM 6.0), new authentication methods have been implemented to simplify PAPI-WS consumer code, separating authentication from process execution logic, and also to potentially provide more flexibility for authentication configuration.
    Authentication can be configured from the AdminCenter in Standalone and J2EE environments, or from PAPI-WS Console in Studio.
    The main authentication method is WS-Security UsernameToken Profile, but in case your client cannot be configured to send UsernameTokens, you may authenticate your client using HTTP headers (HTTP Basic Authentication).
    Consider giving a look at http://ws.apache.org/wss4j/ (Apache WSS4J) if you are using an Axis or Axis2 client.
    Hope this helps!
    Cheers,
    Pablo

  • How to print 4 pics in a4 paper DJ2540

    How to print four pictures in a paper  hp DJ2540  

    Hello vpranav,
    I see that you are attempting to print from Linux.
    Please click on the following link for Imaging and Printing with Linux.
    Thanks for your time.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • HP LaserJet MFP M476dw paper size mismatch when copying or scanning from ADF

    We have HP Color LaserJet MFP M476dw that has an issue when copying or scanning from the ADF. 
    Put a single A4 sheet in the ADF and choose copy, with all settings correct & no resizing, and the output copy is moved down the page (increased top marging by a couple of inches).
    My initial thoughts were a paper size issue (e.g. treating A4 as Letter or vice versa) but all settings look correct.  I have even done a reset and started over and the problem remains.
    If I take the original and place it on the flatbed and copy from there with all the same settings then it works fine.
    There is a similar issue when scanning from the ADF.  Again, scanning from the flatbed works fine.
    I've tried all I can think of.  Does anyone have any further suggestions?  Could it be a fault in the ADF?
    Here's the full device settings info:
    Device Configuration
    [Shop for Supplies][Support]
    Product Information
    Product Name:
    HP Color LaserJet MFP M476dw
    Formatter Number:
    YF10C9X
    Serial Number:
    CNB7G2H6T9
    Service ID:
    24113
    Firmware Datecode:
    20131122
    Disable Fax:
    No
    Telecom Version:
    05-031-001
    Location:
    UK
    ADF Installed:
    Yes
    Max Monochrome Print Quality:
    600x8
    Max Color Print Quality:
    ImageREt 3600
    Controller Number:
    72
    Duplexer Version:
    0
    Device Description:
    HP Color LaserJet MFP M476dw
    Language:
    English
    Default Settings:
    Self-managed
    Asset Number:
    Your Company Name:
    Contact Person:
    Device Location:
    Geo Location:
    Product Security:
    Off
    Wired HW Address:
    fc:15:b4:78:28:46
    Wireless HW Address:
    54:35:30:2f:d7:fc
    Network In Use:
    Wired
    Host Name:
    NPI782846
    IPv4 Address:
    192.168.9.18
    IPv6 Address:
    FE80::FE15:B4FF:FE78:2846
    Total Memory:
    256 MBytes
    Available Memory:
    117.7 MBytes
    Installed Personalities and Options
    PCL6
    (20040201)
    AirPrint
    PCL
    (20040201)
    PDF
    (20040201)
    PS
    (20040201)
    USB Flash Drive:
    Empty
    Impressions
    Total Impressions:
    10684
    Monochrome Impressions:
    4799
    Color Impressions:
    5885
    Total Equivalent Impressions (A4/Letter):
    10684.0
    Monochrome Equivalent Impressions (A4/Letter):
    4799.0
    Color Equivalent Impressions (A4/Letter):
    5885.0
    Duplex Sheets:
    1223
    Jam Events:
    0
    Mispick Events:
    4
    Photo Color Impressions:
    0
    Photo Monochrome Impressions:
    0
    USB Flash Drive Insertions:
    0
    Images Scanned to USB Flash Drive:
    0
    Copy Flatbed Images Scanned:
    373
    Copy ADF Images Scanned:
    409
    Copy Monochrome Impressions:
    1122
    Copy Color Impressions:
    102
    ADF Images Scanned to Host:
    0
    Flatbed Images Scanned to Host:
    0
    Images Scanned to E-mail:
    0
    Images Scanned to Network Folder:
    0
    Fax ADF Images Scanned:
    23
    Fax Flatbed Images Scanned:
    1
    Fax Impressions:
    18
    Images Sent from PC:
    0
    ADF Images Scanned:
    1149
    Flatbed Images Scanned:
    779
    Scanner Jam Events:
    8
    Paper Settings
    Default Paper Size:
    A4
    Default Paper Type:
    Plain
    Tray 1 Size:
    A4
    Tray 1 Type:
    Letterhead
    Tray 2 Size:
    A4
    Tray 2 Type:
    Plain
    Paper Out Action:
    Wait Forever
    Manual Feed:
    Off
    Duplex:
    Off
    Bind:
    Long Edge
    Print
    Auto Continue:
    Off
    Number of Copies:
    1
    Courier Font:
    Regular
    Orientation:
    Portrait
    Monochrome RET:
    On
    Wide A4:
    No
    Monochrome Resolution:
    600
    Monochrome Bits per Pixel:
    8
    Color Resolution:
    600
    Color Bits per Pixel:
    32
    IO Timeout:
    120 Seconds
    Jam Recovery:
    Auto
    Personality:
    Auto
    Print PS Errors:
    Off
    USB Flash Drive
    Print Documents:
    Number of Copies:
    1
    Paper Size:
    A4
    Paper Type:
    Plain
    Fit to Page:
    On
    Collation:
    Off
    Output Color:
    Color
    Print Photos:
    Image Size:
    10 x 15 cm
    Paper Size:
    A4
    Paper Type:
    Plain
    Lighter/Darker:
    <-----*----->
    Number of Copies:
    1
    Output Color:
    Color
    Scan Settings:
    Scan Resolution:
    150
    Scan File Type:
    PDF
    Scan Paper Size:
    A4
    Flatbed Scanner:
    Single Page
    Document Feeder:
    1-Sided
    File Name Prefix:
    scan
    Output Color:
    Color
    Copy
    Optimize:
    Auto Select
    Lighter/Darker:
    <-----*----->
    Paper Size:
    A4
    Paper Type:
    Plain
    Collation:
    On
    Number of Copies:
    1
    Reduce/Enlarge:
    Original=100%
    Draft Mode:
    Off
    Tray Select:
    Auto Select
    Two-Sided:
    1-Sided to 1-Sided
    Multi-Page Copy:
    Off
    Fax
    Your Company Name:
    HP Fax
    Answer Mode:
    Automatic
    Rings to Answer:
    2
    Distinctive Ring:
    All Rings
    Dial Prefix:
    Off
    Fax Resolution:
    Fine
    Lighter/Darker:
    <-----*----->
    Fit to Page:
    On
    Glass Size:
    A4
    Dialing Mode:
    Tone
    Redial if Busy:
    On
    Redial if No Answer:
    Off
    Redial if Comm. Error:
    On
    Detect Dial Tone:
    Off
    Billing Codes:
    Off
    Extension Phone:
    On
    Stamp Faxes:
    Off
    Private Receive:
    Off
    Confirm Fax Number:
    Off
    Allow Fax Reprint:
    Yes
    Print Duplex:
    Off
    Fax/Tel Ring Time:
    20
    Fax Speed:
    Fast (V.34)
    Error Correction:
    On
    Forward Fax:
    Off
    Block Junk Faxes:
    Off
    Phone Line Volume:
    Medium
    Alarm Volume:
    Medium
    Ring Volume:
    Medium
    Key-Press Volume:
    Medium
    Fax Confirmation:
    Never
    Fax Error Report:
    Never
    Include First Page:
    On
    Auto Log Print:
    On
    Print T.30 Trace:
    Never
    Paper Types
    Plain:
    Normal
    HP Matte 90g:
    Normal2
    HP Matte 105g:
    Heavy
    HP Matte 120g:
    Card stock
    HP Matte 150g:
    Extra Heavy
    HP Matte 200g:
    Extra Heavy
    HP Glossy 120g:
    Glossy
    HP Glossy 150g:
    Glossy
    HP Tri Glossy 150g:
    Glossy
    HP Glossy 200g:
    Heavy Glossy
    Light 60-74g:
    Light
    HP EcoSMART Lite:
    Extra Light
    Intermediate:
    Normal2
    Mid-Weight 96-110g:
    Heavy
    Heavy 111-130g:
    Card stock
    Extra Heavy 131-175g:
    Extra Heavy
    Hvy Glossy 111-130g:
    Light Glossy
    X-Hvy Glossy 131-175g:
    Glossy
    Card Glossy 176-220g:
    Heavy Glossy
    Color Transparency:
    Transparency
    Labels:
    Label
    Letterhead:
    Normal
    Envelope:
    Envelope
    Heavy Envelope:
    Heavy Envelope
    Preprinted:
    Normal
    Prepunched:
    Normal
    Colored:
    Normal
    Bond:
    Heavy
    Recycled:
    Normal
    Rough:
    Heavy
    Heavy Rough:
    Heavy
    HP Tough Paper:
    Tough Paper
    Opaque Film:
    Tough Paper
    Energy Settings
    Sleep/Auto Off After:
    30 Minutes
    Wake on These Events
    USB Job
    Yes
    LAN Job
    Yes
    Wireless Job
    Yes
    Control Panel
    Yes
    Fax Ring
    Yes
    Shut Down After:
    Never
    LaserJet Updates Settings
    Check Automatically
    Yes
    Prompt Before Install
    Yes
    Allow Downgrade
    Yes
    Allow Updates
    Yes
    Miscellaneous
    Extended print modes modified:
    No
    Very Low Setting (Black Cartridge):
    Prompt
    Very Low Setting (Color Cartridges):
    Prompt
    Low Threshold (Black Cartridge):
    5%
    Low Threshold (Cyan Cartridge):
    3%
    Low Threshold (Magenta Cartridge):
    3%
    Low Threshold (Yellow Cartridge):
    3%
    Store Usage Data&colon;
    On Supplies
    USB Connection:
    No
    Font Source:
    I (Internal)
    Font Number:
    23
    Font Pitch:
    10.00
    Font Point Size:
    12.00
    Symbol Set:
    PC-8
    Form Length:
    64 Lines
    Append CR to LF:
    No

    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
    I hope this helps!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Acrobat Scanning with CM1312nfi MFP. Can't change from legal size paper

    I've had the same problem with mulitple versions of Adobe Acrobat, but most recenlty with version XI Standad.
    All my scans using the Acobat interface result in legal size scans using the ADF, instead of letter size.   When I try to "Configure Preset"  the Paper Size is set to "Automatic" and there are no other options available in the drop down box.
    I have to do a custom scan and manually select the paper size using the HP interface, but I would like to use the Acrobat interface instead due to the volume of scans I perform.
    In Acrobat the Scanner is identified as "WIA- HP CLJ CM1312 Scan".   I am running Windows 8.1 64 bit.  I have uninstalled and reinstalled the drivers and Acrobat, but the problem persists.
    All help appreciated.  Thanks.

    Not sure if this is the same problem I'm having. I have a HP C5180, and when I go to print I get all the necessary options (by dropping down the traingle as advised above), and all's great..... apart from the Source tray is always set to Main Tray instead of the Photo.
    I can change it each time I print, but it won't stay defaulted to Photo Tray even when I save or 'Save as' a new Preset. I have tried to overwrite the default ones, but no go, and also saved as a new Preset, but it still doesn't come up as the default selection next time I go in to print.
    Sounds easy enough to cope with I know, but I've set it up for a 84 year old to print from and I don't expect she'll manage to do this change every time.

  • HP LaserJet P2015 Tray 1 paper feed

    My HP LaserJet P2015dn printer has been my workhorse printer since new, especially for printing checks, envelopes, forms from paper Tray 1. I always print using the Auto Select for paper feed, so that if there are checks/envelopes in Tray 1, they will be selected. For the past 6 weeks or so, the printer will not feed from Tray 1 on demand, that is will not pick paper from Tray 1 if Auto Select is enabled as I have used it in the past.
    Printer will pick from Tray 1 IF Tray 1 is specifically selected OR Tray 2 has no paper or is removed. I doubt I can retrain myself to do either of these things as work arounds.
    Stupidly, I paid a $50 bench fee for a technician to tell me the printer is mechanically working as it should. On further investigation, I have determined that the HP print drivers is use seem to have been installed on July 10, 2008 (about the time this issue started AFAIK) from a combined installer HPLaserJetP2015andColorLaserJet2605_2700.dmg which I installed for my Color LaserJet 2605dn printer.
    I still have the prior LJP2015OSXfullsol.dmg on my hard disk, but reinstalling same does not seem to replace the new driver with the old.
    So, is there any way to get rid of the the newer print software OR overlay the older on the newer? Other suggestions?

    So, I cranked up my old PowerBook G4 (OS 10.4.11) which has the older driver for the P2015dn and the problem remains.
    I have made some progress: If I want to print with paper feed from Tray 1, I pull Tray 2 out a few inches, load the paper in Tray 1, start the print job, and the yellow Attention LED flashes indicating an error. Note that the Paper Out light does NOT come on. So I press the Go button, the Attention LED goes out, and the print job completes using the forms in Tray 1 as desired.
    So I'm thinking now, What Error condition? and why does clearing it make it print?
    Certainly seems like a hardware problem to me as this is NOT the way the printer is supposed to work as documenetd in the User Guide.

  • HP Laserjet 1010 paper jam issue

    I know this is not specifically an Apple problem, but I have spent days searching for a solution elsewhere with no luck, so I was wondering if anyone here could help?
    My HP LaserJet 1010 had some issues with printed pages not coming right through - they jammed right at the last minute when most of the page was out.
    After carefully removing the sheet, the paper jam light is constantly flashing, despite there being no paper in sight. No amount of resetting, cleaning etc has any effect. Neither do the rollers move any more when it is switched on, as they are supposed to.
    When I try to print, the driver program gives the error:
    "Printer Error: The printer needs attention"
    Any ideas for how to solve this would be much appreciated.

    Chances are the printer has a small bit of paper that is still jammed in it. When paper jams always try to pull in the direction of the paper path! If it tears then remove the toner cartridge to see if you can see any bits of paper inside. I have the Laserjet 1012 which is a similar design, early in it's life I had a similar issue, after removing the toner cartridge and seeing all bits of paper were gone I still got an error. I then removed the top cover of the printer, located and removed the offending piece of paper, put it back together and now several thousands of pages later all is fine.
    If that doesn't work then contact HP's support (they will reply to an email with 24 hours) or go the chat route. If you try to call because you are well out of warranty there will be charge.

  • HP LJ 600 M602 uses paper from other tray

    I have a problem with a new HP LJ 600 M602 printer.
    I think it's best to discribe an example of the problem.
    For example i start a printjob of 1000 pages from tray 1 which holds 500 sheets. Now it should just say tray 1 is empty when it hits the 500 pages printed but it wil automatically continue to print from tray 2. This should not be happening since i turned off the option "Use other tray" on the printer it's self and the web interface. It is also turned off in the printer settings on the computer in word that is used for the printing.
    The actual configuration of the printer is:
    Tray 1: Manual
    Tray 2: blank paper
    Tray 3: paper with corporate logo1
    Tray 4: paper with corporate logo2
    And all have the option "use other tray" turned off.
    Could this be a driver problem or am i missing a setting somewhere?
    Sorry if my english is not 100% it's not my native language, and thanks in advance if you can help  me!

    Hello Jackkemkens
    The product you have is a commercial printer. I suggest posting in the forum for HP Business Support for a better chance at finding a solution.
    You may find the Commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Don't forgot to say thanks by giving "Kudos" to those that help solve your problems.
    When a solution is found please mark the post that solves your issue.

  • HP Laserjet 2200dtn paper select issue

    I have an HP Laserjet 2200dtn connected via jet direct with a direct ip. I can print to the device with one issue. All print jobs using the "Automatically Select" option for paper tray go to the manual tray and require me to tell the printer to continue. Prior to Snow Leopard the driver would go to the first available paper feed drawer (if paper was in manual it would go there, otherwise it went to either tray 2 or tray 3 on its on). Any Ideas? I would rather the printer automatically select tray 3 to print from and have me manually select tray 1 when I need it.
    Thanks.

    Chances are the printer has a small bit of paper that is still jammed in it. When paper jams always try to pull in the direction of the paper path! If it tears then remove the toner cartridge to see if you can see any bits of paper inside. I have the Laserjet 1012 which is a similar design, early in it's life I had a similar issue, after removing the toner cartridge and seeing all bits of paper were gone I still got an error. I then removed the top cover of the printer, located and removed the offending piece of paper, put it back together and now several thousands of pages later all is fine.
    If that doesn't work then contact HP's support (they will reply to an email with 24 hours) or go the chat route. If you try to call because you are well out of warranty there will be charge.

  • How do I select a thick paper to print from Indesign?

    How do I select a thick paper to print from Indesign? I have to go to the printer to select the thicker paper. I would like to select the paper from my computer in Indesign.  Other programs allow this.

    At the bottom of the print dialog box is a button labeled Printer. That will lead you to the printer-specific options like paper weight.

  • Is there any way to print a photo from my iphone on plain paper on my photosmart plus printer?

    Whenever I try to use Airprint to print a photo from my iPhone to my Photosmart Plus printer, it tries to print it on photo paper from the photo paper tray.
    I want it to print on the plain paper in the regular tray.
    I read online where this is possible with the iPrint app - but when I went to the App Store, there is no iPrint App.  I found a sticky post here saying that it has been removed from the App Store in anticipation of a new ePrint Home & Business version that won't be available everywhere until September.
    So, in the meantime, is there anyway to change the location of where the photos from the iPhone print?
    Thanks in advance for any assistance.

    HI
    Most likely their is not, as printing pictures is standard set to photopaper as you most likely need good quality. Pictures on normal paper are not considered good quaity and thus not set as standard.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Although I work for HP my posts and replies are my own
    Please mark the post that solves your problem as "Accepted Solution"

Maybe you are looking for

  • Old iMac hard drive to external enclosure

    The logic board on my old iMac (20" core duo...2006 model) but the hard drive is ok.  I'd like to put it into an external enclosure but can't get it to fit. 1/  there's an external chip/connector on the side, half way down that blocks it fitting into

  • How to stop loop in Revolutions Theme

    I wish to stop the looping of the theme in Revolution, I have got to the resources folder and used PlistEdit Pro and found some looping text but would like help as not sure which to alter. I want the theme to run for one minute and then stop. Do hope

  • Hierarchy Totals Below

    In the query designer I have built a query that contains on the rows Cost Centre, Employees and GL Codes. I have activated a Presenation Hierarchy e.g. on the rows section clicked on display as hierarchy. However when I run the query the totals are a

  • BI query designer

    Hi,      Could any one pls tell me what is the use of 'structures' in query designer?

  • Partition a cube, Jump queries.

    Hi all, 1. When do we partition a cube? 2. Why should we link reports in jump queries? Where do we use them? Thanks in advance, Sameer.