Why portal server can't create an instance of axis.Service class?

Hi,gurus,
We developed a uwl custom connector,The time out occured in that custom connector.After adding the time out value from 30s to 300s,the problem still existed.
The code is like below:
String endpoint = "http://172.16.127.4:8080/appframe-web/services/WorkItemService";
Service service = new Service();    // time out code
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(endpoint);
call.setOperationName("wisForPortal");
call.addParameter("userCode", org.apache.axis.encoding.XMLType.XSD_STRING, javax.xml.rpc.ParameterMode.IN);/
call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);
String temp = "36";
Object result = call.invoke(new Object[]{temp});
The time out occured when the portal server create an instance of Service class.Does that mean the server can't find the jars?
But the object declaration like "Service service=null;" is all right.
Any ideas?Thanks in advance.

I have a project called 'Default EAR' in my workspace.
But I can't add the JAR to the that project. These instructions are for WSAD 4, but I assume WSAD 5 is similar:
Go to menu File and select Import. Choose "File System" to import from. Specify "Default EAR" as your folder and select the jar file from the directory/browse prompt.
This is assuming your web app is connected to Default EAR and not some other EAR file. Also once you've done this, you will find that the jar file automatically becomes part of your build path. You didn't have to do anything extra to make that happen.

Similar Messages

  • In Oracle 9 Application Server can we create multiple instances???

    Hi I need one help this is regarding to the oracle 9 application server in this can we create the multiple instances??
    my application was already developed and currently it is working with one instance for this i need to create the another one more instance which is same as existing and my application is web application developed in Forms6i and the db is oracle 9i my requirement is to create one more instance what are all the configuration files need to be modified and please give this info ASAP....

    It is still not very clear. What do you mean by creating "one more instance of the same application in the same application server"? By "application" do you mean another instance of OC4J in same Application Server Instance? If yes, you can do that. I mean you can create another OC4J component in same Application Server Instance without doing another installation. Refer this for details:
    http://download.oracle.com/docs/cd/A97329_03/core.902/a92171/config.htm#1010793
    If you are looking to create another Application Server Instance out of same installation/binaries (i.e. Oracle Home) than the answer is no. You can not create multiple Application Server Instances out of one Oracle Home. You will have to do another installation in a different Oracle Home and that's how you will get another Application Server Instance.
    Hope this helps.
    Thanks
    Shail

  • Can i create an instance of a jar file?

    Actually,i'm creating a combobox component.For tht i've written a java class,in tht calss i read the javascript code and create an instance of the java class n render tht code.If i want to give this java file and javascript file i need to jar it.i have done tht also but i can't create the instance of tht java class from the jar .can u help me out?
    Thanks in advance.

    Hey thanks so much for the reply.
    Let me tell you the exact scenario. I'm actually developing a struts-application. Hope I can get some help here too.
    I have:
    1. login.jsp-where user logs in.
    -I have a userid and a password as default values for each unique user.
    Where should i store these details -in HashMap??
    -How can I display error messages if userId/passWord is invalid on login.jsp page ??
    2. confirmation.jsp-on successful login, he's shown his details:
    YOur first name: .........
    Your last name: ........ etc.
    -Here I can't use bean:write tag to read from form-bean.
    - how do i display it here without using a scriptlet ?
    3. LoginAction.java
    -Here i will get userId and passWord from LoginFormBean.java setter
    and getter methods.
    -For all validations' results, should i call a boolean getUserDetails() method from form-bean, wherein i can map values(first name, last name etc ) to each key (userid) ?
    i can use methods like:
    if (isValidUserId && isValidPassWord )
    LoginValidateUtil.getUserDetails();
    return mapping.findForward("success");
    But, can I assign many values to a single key using Map ?
    4. LoginFormBean.java
    -Here should I have to use set/getUserDetails() ?
    -If so, how do I use Map there?
    I want to have userId as the only key to which i can map values and not password.
    5. LoginValidateUtil.java
    -Here all validations are defined and boolean result is passed to LoginAction.java.
    Hope you got what I meant.
    Please tell me if i am right in this approach...
    Thanks in advance,
    sanlearns

  • How many server nodes can you create per instance

    Hi,
    Very often the bottle neck in a java installation (NW04s) is the heap size. In order to increase the heap you simple create new server nodes.
    My question is:
    How many server nodes can you create per instance?
    Is there an upper limit before you have to create a new dialog instance (with a web dispatcher)?
    I can imagine that when you create a new server node you also have to increase the heap and max therad of the dispatcher. Is there any upper limit of the heap size of the dispatcher node ?

    Rasmus , I think you laid out a real good scenario for every one to contribute
    I may be very late but just updating this forum for benefit of everyone who visits this.
    In addition to all the points above one must also consider following things if one decides to add more server nodes to one dispatcher
    1.Garbage collection time
    2.Dispatcher would keep on sending request to node S2 if it is not completely bad and there by impacting all the servernode       so  you might end up restartiing the entire cluster.
    3,Debugging also becomes diffculy as you are not sure on which server node you are within the cluster.
    4.If you have something like F5 which does hear beat monitoring even one server node goes bad F5 will not report anything.
    So in my view one server node per dispatcher is an ideal configuration.
    Over All Dispatcher does not consume more resouces (Disk Space + CPU + memory ) at the same time it will give you maintenance flexibility.
    Nothing is right or wrong ,all these things are based on how your infrastructure set up is.
    Cheers !!
    Manish Jain

  • Can I create multiple instances of  realplayer plug-in in one jsp page?

    I want to play meny video files in one jsp web page, these video files are to be played with the embeded plug-in of realplayer, each plug-in was linked(use its SRC property) a different video file. But, to my surprise, when I press the play button, every player played the same video file,not its specified file.
    I have no idea why it did so and what can I do?
    Whether can I create multiple instances of realplayer plug-in in one jsp page, that is to say, each instance is independent of others?
    thanks in advance!

    Generally speaking, Internet Explorer tries not to launch multiple versions of a plug-in. So what's happening is that you load the first video clip, and then before it has a chance to play, you load the second video clip into the same window. (It's like changing songs in WMA.)
    In some cases - this may not work for Real Player, but it's worth trying - if you spawn a new window through a hypertext link and then launch the plug-in in that window, IE will treat it separately. Otherwise, you could not, for example, run two Macromedia Flash applications from different web sites at the same time.
    Keep in mind that only one program can access the soundcard at a time, so Real Player may purposely "pause" or "cancel" other video streams until the active one finishes. If you were using the desktop version, selecting another video by any means aborts the currently running video (i.e., RP won't let you create a separate instance of it).
    The easiest solution is to create a wrapper JSP file that takes the name of the video clip, and plays it. Call that JSP and specify that it should be opened in a new window via the TARGET keyword in the anchor tag. Then hopefully RP itself won't block a second window from running.

  • Can't create an instance of StringTemplate in WSAD 5.1.1

    I have just downloaded and installed WSAD 5.1.1 on my computer. I created a simple web application and added a Servlet. In my Servlet whenever I create an instance of a StringTemplate class (http://www.antlr.org/stringtemplate/index.tml) I get a java.lang.NoClassDefFoundError:
    [19-01-04 20:19:54:328 CET] 3c4c5142 WebContainer A SRVE0169I: Loading Web Module: Proj1.
    [19-01-04 20:19:54:453 CET] 3c4c5142 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: JSP 1.2 Processor: init
    [19-01-04 20:19:54:484 CET] 3c4c5142 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: SimpleFileServlet: init
    [19-01-04 20:19:54:516 CET] 3c4c5142 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: InvokerServlet: init
    [19-01-04 20:19:54:547 CET] 3c4c5142 ApplicationMg A WSVR0221I: Application started: DefaultEAR
    [19-01-04 20:19:54:641 CET] 3c4c5142 HttpTransport A SRVE0171I: Transport http is listening on port 9.080.
    [19-01-04 20:19:56:922 CET] 3c4c5142 HttpTransport A SRVE0171I: Transport https is listening on port 9.443.
    [19-01-04 20:19:56:984 CET] 3c4c5142 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
    [19-01-04 20:19:57:109 CET] 3c4c5142 WsServer A WSVR0001I: Server server1 open for e-business
    [19-01-04 20:20:01:031 CET] 59ed1140 WebGroup I SRVE0180I: [Proj1] [Proj1] [Servlet.LOG]: HelloServlet2: init
    [19-01-04 20:20:01:469 CET] 59ed1140 WebGroup E SRVE0026E: [Servlet Error]-[antlr/RecognitionException]: java.lang.NoClassDefFoundError: antlr/RecognitionException
         at com.bigjrun.proj1.servlets.HelloServlet2.doGet(HelloServlet2.java:27)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    I added the StringTemplate.jar on Project -> Properties -> Java Build Path -> Libraries -> Add External JARs
    My code looks like this:
    package com.bigjrun.proj1.servlets;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.Servlet;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.antlr.stringtemplate.StringTemplate;
    public class HelloServlet2 extends HttpServlet implements Servlet {
         public void doGet(HttpServletRequest req, HttpServletResponse resp)
              throws ServletException, IOException {
              PrintWriter out = resp.getWriter();
              try {
                   StringTemplate query = new StringTemplate("SELECT $column$ FROM $table$;");
                   query.setAttribute("column","name");
                   query.setAttribute("column","email");
                   query.setAttribute("table", "users");
                   out.print(query);     
              } catch (Exception e) {
                   // TODO: handle exception
                   out.print("Exception " + e.getMessage());
    }What am I doing wrong?

    I have a project called 'Default EAR' in my workspace.
    But I can't add the JAR to the that project. These instructions are for WSAD 4, but I assume WSAD 5 is similar:
    Go to menu File and select Import. Choose "File System" to import from. Specify "Default EAR" as your folder and select the jar file from the directory/browse prompt.
    This is assuming your web app is connected to Default EAR and not some other EAR file. Also once you've done this, you will find that the jar file automatically becomes part of your build path. You didn't have to do anything extra to make that happen.

  • Can we create Named instance without installing Default instance

    Hi experts,
    i'm new for sql dba,
    Can we create Named instance without installing Default instance
    Thanks in advance.
    Regards,
    Madhu

    Yes you can
    You can also have mutiliple instance in think max (16 instances) for différents versions of SQL server (2000, 2005, 2008 and 2012) in the same physical machine.

  • ?? can not create an instance of org.apache.axis.client.Service

    hi,
    firstly, i should introduce what i am doing now.
    I want to write a Jeanbean, which can invoke 2 web services.
    I found in tomcat, when I submitted the parameters from a web page form, there was Internal Server Error.
    The problem is I can not created an instance of org.apache.axis.client.Service, or an instance of org.apache.axis.client.AxisClient.
    But very stange, I tried to create an instance of org.apache.axis.client.Transport, which should exist in the same package with Service and AxisClien, there was no exceptions.
    can anyone give me some hints?

    Is it a "class not found" error? Have you tried viewing the jar file that you think org.apache.axis.client.Service is in to be sure that it's really in there?
    jar tvf <filename>

  • Can i create an instance of ArrayList ?

    hi ,
    I need to store first name, last name etc in an ArrayList for a unique userid. And i have to do it for few userids. on successful login of the user ( with unique userid that matches with the one in the arraylist), i need to retrieve user details (first name, last name etc) from that arraylist and display in jsp file.
    Could u please tell me:
    1. how do i go about doing it?
    2 .Can i create an instance of ArrayList and use .add() method to add details ?
    3. can i write some java code in jsp without using scriptlets ?
    Thanks in advance,
    Sanlearns

    Hey thanks so much for the reply.
    Let me tell you the exact scenario. I'm actually developing a struts-application. Hope I can get some help here too.
    I have:
    1. login.jsp-where user logs in.
    -I have a userid and a password as default values for each unique user.
    Where should i store these details -in HashMap??
    -How can I display error messages if userId/passWord is invalid on login.jsp page ??
    2. confirmation.jsp-on successful login, he's shown his details:
    YOur first name: .........
    Your last name: ........ etc.
    -Here I can't use bean:write tag to read from form-bean.
    - how do i display it here without using a scriptlet ?
    3. LoginAction.java
    -Here i will get userId and passWord from LoginFormBean.java setter
    and getter methods.
    -For all validations' results, should i call a boolean getUserDetails() method from form-bean, wherein i can map values(first name, last name etc ) to each key (userid) ?
    i can use methods like:
    if (isValidUserId && isValidPassWord )
    LoginValidateUtil.getUserDetails();
    return mapping.findForward("success");
    But, can I assign many values to a single key using Map ?
    4. LoginFormBean.java
    -Here should I have to use set/getUserDetails() ?
    -If so, how do I use Map there?
    I want to have userId as the only key to which i can map values and not password.
    5. LoginValidateUtil.java
    -Here all validations are defined and boolean result is passed to LoginAction.java.
    Hope you got what I meant.
    Please tell me if i am right in this approach...
    Thanks in advance,
    sanlearns

  • ERROR: Automation server can't create object

    Hi,
    I am at my wits end, and I hope you can help me. I have
    compiled a Webhelp project that runs just fine in Firefox (with the
    exception of expanding text but blah blah blah... :P)
    When I compile the same project in IE, I get an page loading
    error that tells me that "Automation server can't create object"
    (with reference to 'whskin_pdfhtml.html' in a file path, and my ToC
    is not visible.
    My tester, who is on another machine in another location,
    tells me HIS ToC loads fine, but he gets an out of memory error at
    line 59.
    I have trawled thru these forums for an hour now, and I am no
    closer to solving this problem. I have tried creating a brand new
    empty project with one topic and I get the same error.
    Any ideas on what's happening?
    Of course, we have a demo tomorrow at 6am.
    thanks

    Guessing here.
    1] You have created webhelp pro when you don't have RoboHelp
    Server installed on the server.
    2] Your source has some output files in it. The topic
    concerned being the one that gives the memory error. This result is
    what you get when you view in RoboHelp an output file that has been
    imported into the source. I don't know whether it gives the same
    error in the output again.
    Or are you viewing the help locally instead of from a server?
    What version of IE.

  • Error: Internal/Bug( #609) Automation server can't create  object

    Hi Friends,
    I am new to Oracle BPEL.
    I am getting the following error message when I click Flow,Audit and Debug tabs after deploying the process.
    Error: Internal/Bug( #609) Automation server can't create object
    Had anybody faced this problem and resolved it?

    IIRC this can be down to browser security setting. You may find you needs to turn some security options on (or at least set to 'prompt' under tools- > internet settings -> secuirty - > custom level... etc

  • Automation server can't create object when calling a jsp from a button

    Hello,
    I have created the following jsp that allow me to execute an external program that is located on the client side:
    <script language="JavaScript" type="text/javascript">
    <!--
    function execAppli(app)
    var wshShell = new ActiveXObject("WScript.Shell");
    wshShell.Run(app+".exe", 1, true);
    -->
    </script>
    If I call this jsp in a simple html page is works correctly when i call it from a button in apex (3.0) I got the error message Automation server can't create object.
    Any idea ?
    Thanks,
    Claude-Alain

    Hi Claude,
    Just be sure that you really (like really) trust your endusers, because I can see some huge opportunities for exploiting that JavaScript routine you've shown. If you're not taking steps to prevent cross site scripting (search this forum or Google for details on what that is), then it's not beyond the bounds of possibility for someone to do something 'nasty' which would do horrible things to your end users if your executing a program on their client machines without any warning or validation of what that program actually does.
    Sometimes it's best to work backwards from the point of view of....what if you walk into work one morning and find that 400 end users machines have had their hard-drives wiped because the script arbitrarily executes whatever command you pass to it? Then you can perhaps see that what sometimes looks like a good idea might not be such a good idea after all ;)

  • Automation server can't create object ActiveXObject jsp

    Hi
    Below code snippet is completely working fine on IE when it is embedded in an HTML document.
              var fso = new ActiveXObject("Scripting.FileSystemObject"); // creating a Scripting FileSystemObject.
              var fh = fso.CreateTextFile("data.xml", true); // creating a file handler variable which is pointing to the given file.
              fh.WriteLine(str); // Writing str value to file through file handler variable.
              fh.Close(); // closing the file handler object.
    But when I am embedding the same snippet in a JSP and trying execute on the same IE, it is failing at ""var fso = new ActiveXObject("Scripting.FileSystemObject");"" and throwing a javascript error as "automation server can't create object".
    I have gone through google and could not identify what might gone wrong.
    if some had come across the same scenario, pls throw some light on this.
    Thanks.

    Pretty sure there is a forum specifically for JSP.
    But when I am embedding the same snippet in a JSP and trying execute on the same IEJSP executes on the client not in IE.

  • Automation server can't create object SapROTWr.SapROTWrapper Wrapper

    Hi,
    I am trying to create Activex object SapROTWr.SapROTWrapper Wrapper from HTML page, but it returns the error "automation server can't create object"
    it work fine in IE6 with windows XP and SAP GUI 640
    but the error is thrown with windows 7 + IE 8 + SAP GUI 720.
    please help on this.
    Regards
    Ramakrishna Reddy
    Edited by: Ramakrishna Reddy on Nov 5, 2010 12:32 PM

    Hi,
    ActiveX control may not be registered on your machine. It may have been
    removed/cleaned from your machine, but one of its other components in the
    form of an IE Addon is still installed on your machine.
    Try running IE8 in no-Addons mode. Start>(All) Programs>Accessories>System
    Tools>Internet Explorer (no-Addons)
    Regards
    Nagaraju

  • Error message: Automation server can't create object

    Hello
    I'm currently receiving the error message: 'Automation server can't create object' when trying to view reports. This only happens when i try to view them through the IIS server using the .net launchpad. It happens with both reports that i have produced and Feature example reports, it also happens from both client machines and the server.
    Any ideas on how to fix this issue?
    regards
    Matt

    Hi,
      I am not sure if you still are having this issue. In my experience I have seen this issue if for all the BO related services the rights are not proper. These have to be given from dcomconfig.
    Hope this helps
    Amit

Maybe you are looking for

  • [Sound Blaster ZX]Control Panel takes 6 MINUTES to load and is nearly unusable?!

    All, Yesterday I took the plunge and picked up a Sound Blaster ZX to replace my old Audigy Platinum. Unfortunately I've been met with a series of problems that leave me with a bad taste in my mouth about my purchase. The driver install seemed to go w

  • ABAP Runtime Error - " Reshedule Periodic jobs"

    Dear Friends, I got around 120 ABAP runtime error in PRD system regularly(Daily) for the period of 4.40 AM to 5.18 AM. How can i solve following ABAP Runtime Error, Pls give me suggession. SM21 - System Logs: Client           :     000 User          

  • "itunes has detected a mac formatted ipod.  you must restore this ipod before you can use it on windows."

    I got the error message above when connecting my old 1st generation ipod to my new PC.  My Mac laptop was stolen in a break in at my home, and I no longer have my music files stored anywhere else but this ipod.  i don't want to restore it if this pro

  • Connect to OneDrive not working

    Hello, I am new to the BlackBerry/BB10, having just moved to a BlackBerry Passport device (from a Nokia Lumia 930). I need access to OneDrive, but the OneDrive app does not seem to connect after I enter all of my correct 2-factor authentication crede

  • Problem getting data in Report

    Hi, I have the following code in my report. data: it_adrc type table of adrc. data: wa_adrc type adrc. perform get_address tables it_adrc                         using  add_partner. loop at it_adrc into wa_adrc.       wa_output-country = wa_adrc-coun