Problem creating a Windows Service to Start Weblogic Adminserver

Hi, I'm having some trouble starting the windows service for weblogic.
The creation happens succesfully but, when I try to start the service, it fails.
Thanks
Debugging service ....... beasvc bpm11g_A00ASRV304W08R2
Command Line: ....... -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Xverify:none -classpath ....
Current Directory: ....... D:\Oracle\Middleware1036\user_projects\domains\bpm11g
Path: ....... D:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64\;D:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;D:\Java\JDK17~1.0_0\jre\bin;D:\Java\JDK17~1.0_0\n
Java Home: ....... D:\Java\JDK17~1.0_0
Delay: ....... 0
Thread created successfully!
Unrecognized option: -client
Error in java application .......
The following line contains specific error details .......
Unable to initialize the Java virtual machine!

Hi,
Remove the word "-client" from command line options. Try to start weblogic server from window services. If you are getting error please let me know.
Now:
Command Line: ....... -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:UseSpinning -Xverify:none -classpath..............+
Changed to:
Command Line:....... -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Xverify:none -classpath.............
mark if this helps you.
Regards,
Kishore

Similar Messages

  • Weblogic Server does not show managed server started when I used the Windows service to start it.

    I created a windows service to start a managed server and the services was created successfully and stated.  WHen I go to the Weblogic Server Admn console, the server is still showing shutdown.  Whenm I try to start it, it returns with error that the the service is not able to start.  Has anyone ran into anything similar.  I am running on Windows Server 2008R2 and running Weblogic Server 10.3.6 and Fusion Middleware 11.1.6.
    C

    Hi,
    For starting managed server as windows service there is no need of nodemanager .
    Please follow the steps given in the below doc:
    How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers (Doc ID 1060058.1)
    Thanks,
    Sharmela

  • Creating a windows Service for Weblogic 12c Domain hosting Apex 2.2 listener

    Hi Guys,
    Does anyone have experience of Weblogic 12c under windows?
    I have some difficulties to create a windows service for a domain.
    Here is the script to create the service:
    echo off
    SETLOCAL
    set DOMAIN_NAME=PMU
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\PMU
    set SERVER_NAME=LICORNE2012
    set WL_HOME=C:\Oracle\Middleware\wlserver_12.1
    set PRODUCTION_MODE=true
    set JAVA_OPTIONS=-Dweblogic.Name=LICORNE2012
    set WLS_USER=weblogic
    set WLS_PW=password
    set ADMIN_URL=http://LICORNE2012:7001
    set MEM_ARGS=-Xms256m –Xmx256m
    call "C:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd"
    ENDLOCAL
    The service is created and when I start the service, it start then stop few second after.
    Here is the error I am getting.
    [Tue Jun 25 23:36:01 2013] [I] [initLog] initializing logger
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
    [Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Tue Jun 25 23:36:01 2013] [I] [initLog] TIME based log rotation is ON
    [Tue Jun 25 23:36:01 2013] [I] [trigger] First rotation due in 1438 secs
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] About to execute CreateThread()
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszCmdLine = -client -Xms32m -Xmx200m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseSpinning -Dweblogic.Name=LICORNE2012 -Xverify:none -Djava.endorsed.dirs=C:\Oracle\MIDDLE~1\JDK160~1/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -classpath "C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe101\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_12.1.1.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;" -Dweblogic.Name=LICORNE2012 -Dweblogic.management.username=weblogic -Dweblogic.management.server="http://LICORNE2012:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy" weblogic.Server
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszJavaHome = C:\Oracle\MIDDLE~1\JDK160~1
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\PMU
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszOldPath = C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32\oci920_8;C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszDelay = 0
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszStopClass = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszLog = [c:\temp\web.log]
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Thread created successfully
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszHost = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszPort = []
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
    [Tue Jun 25 23:36:01 2013] [I] [ServiceStart] waiting for multiple events
    [Tue Jun 25 23:36:01 2013] [I] [StartJVM] Parsing JVM Arguments
    [Tue Jun 25 23:36:01 2013] [I] [StartJVM] Initializing JVM
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Loading class - weblogic.Server
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Building arguments for main class
    [Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Invoking main class
    <25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <25 juin 2013 23 h 36 CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>
    <25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
    WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
    WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
    WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
    WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
    WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
    WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
    WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
    WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
    WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
    WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491 >
    <25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141223> <The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.>
    <25 juin 2013 23 h 36 CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: [Management:141223]The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.
        at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:149)
        at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
        at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
        at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
        at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:883)
        at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
        at weblogic.Server.main(Server.java:74)
    >
    <25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <25 juin 2013 23 h 36 CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    [Tue Jun 25 23:36:11 2013] [I] [ExitHandler] Fire (-1)
    [Tue Jun 25 23:36:11 2013] [I] [ServiceStart] done waiting for multiple events. Wait=0
    [Tue Jun 25 23:36:11 2013] [I] [ServiceStart] Informing SCM about SERVICE_STOP
    Thanks for your help
    jko

    - not sure about your script, but obviously it doesn't detect the name of your managed server LICORNE2012 since there seems to be an admin server only in that domain.
    - alternatively you might try the approach posted by the AMIS guys
    Weblogic Admin and Managed servers as a Windows service
    - btw: having your domain under user_projects is not best practice (but not the problem here).
    good luck!

  • SCOM monitoring on windows services in starting or stopping state

    Hi,
    Any chance if somebody can help me to set alarm on stopping and starting state  windows services  (automatic services) in SCOM for client servers.
    Balys

    1) Using Windows Service Template to create a windows service monitor with enabled "monitor only automatic service" option
    2) Export the management pack containing the monitor which created in step 1)
    3) Modidy data source from
    TypeID="Windows!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper">
        <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
        <ServiceName>XXXX</ServiceName>
    into
    TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
        <NameSpace>root\cimv2</NameSpace>
        <Query>select * from win32_service </Query>
    AND
    <Setting>
              <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
              <Value>$Data/Property[@Name='BinaryPathName']$</Value>
            </Setting>
    into
     <Setting>
              <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
              <Value>$Data/Property[@Name='PathName']$</Value>
            </Setting>
    4) Import the management pack
    http://blogs.technet.com/b/brianwren/archive/2008/03/07/using-wildcards-with-the-windows-service-template.aspx
    Roger

  • Best way to create a Windows service from a LabVIEW executable​?

    What would be the best way to run a LabVIEW executable as a service? I needed this recently and I think I have set up such a service using srvany.exe from the Windows 2003 Resource Kit, but that seems like a bit of a hack. The Kit is not offically supported in Server 2008, but seems to work. I don't know about Server 2012 or beyond.
    So what would be the "proper" way of going about creating a Windows service from a headless LabVIEW application?

    The proper way is to interface to the according Windows service control API. That is however not a trivial task to do. We used to sell a LabVIEW toolkit which supported a full interface to this, but it's not currently actively marketed.
    srvany.exe is sort of a hack but works reasonably well for most use cases, as long as you do not need any further interaction with the service manager interface in Windows than to start and stop your service.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Creating the Windows Service for the Database Instance

    Hello, I am using the PeopleTools 8.52 Installation for Oracle documentation and was in Task 6A-2: Creating the Windows Service for the Database Instance.
    After I type in
    oradim -new -sid ORCL -intpwd manager -startmode auto -pfile C:\Oracle\database\initORCL.ora
    I had encountered these errors:
    OPW-00005: File with same name exists - please delete or rename
    DIM-00019: create service error
    O/S-Error: (OS 1073) The specified service already exists.
    Please advise.... Thank you in advance!

    Hi, thank you for your reply!
    After I typed oradim -delete -sid ORCL, it shows this:
    Unable to stop service, OS Error = 1062
    Instance deleted.
    Then, I:
    Set ORACLE_SID=ORCL
    oradim -new -sid ORCL -intpwd manager -startmode auto -pfile C:\Oracle\database\initORCL.ora
    Then, it shows:
    OPW-00005: Files with same name exists - please delete or rename
    Instance created.
    Does it mean no error already and I can proceed?

  • Setting up OIM to start as a Windows Service running under Weblogic 10.3.2

    Hi,
    On recommendation from our Oracle Rep. we have begun migrating our existing OIM installation on Oracle AS to a Weblogic Application Server. As such we are looking for a way to get the OIM application to run as a service in windows - so we dont have to start it manually after a reboot and so that system monitoring can alert us if/when the application crashes for some reason.
    I have asked Oracle support - which basically said that no such howto/documentation exists and that "One needs to debug on their own when face any issue." (whatever the h*** that means).
    I was thinking that we werent the first customers trying to get the OIM webapplication to start automatically under weblogic and that someone must have figured out a way to accomplish this ?
    Any advice on how to do this will be greatly appreciated.
    Thank you in advance.
    /Jacob

    Hi Jacob,
    See this post that I answered few time ago. Re: Keeping Remote Manager running - Windows
    Our OIM is running as a Windows Service.
    REnato

  • Problem in creating a Windows Service Scheduler Agent

    Hello,
    I have different Listener agent created as NT Services which work fine, but for my new scheduling need I have tryed to transform them into Scheduler Agent NT Services but I'm facing error.
    In the agentservice.log I obtain the following error code:
    STATUS | wrapper | 2008/04/17 16:49:00 | OracleDI Agent Scheduler Agent_Gensapp12 installed.
    STATUS | wrapper | 2008/04/17 16:49:19 | --> Wrapper Started as Service
    STATUS | wrapper | 2008/04/17 16:49:19 | Launching a JVM...
    INFO | jvm 1 | 2008/04/17 16:49:19 | Wrapper (Version 3.1.0) http://wrapper.tanukisoftware.org
    INFO | jvm 1 | 2008/04/17 16:49:19 |
    INFO | jvm 1 | 2008/04/17 16:49:20 | Starting Oracle Data Integrator Agent...
    INFO | jvm 1 | 2008/04/17 16:49:20 | Version : 10.1.3.4.0 - 30/10/2007
    INFO | jvm 1 | 2008/04/17 16:49:20 | com.sunopsis.tools.core.exception.SnpsRuntimeException: java.sql.SQLException: [GENSAPP12]Invalid object name 'SNP_CONNECT'.
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.n.a(n.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.j.f.run(f.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.y(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.run(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at java.lang.Thread.run(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | Caused by: java.sql.SQLException: [GENSAPP12]Invalid object name 'SNP_CONNECT'.
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.a.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.if(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.for(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.int(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.executeQuery(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.e.h(e.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | ... 5 more
    INFO | jvm 1 | 2008/04/17 16:49:20 | Caused by:
    INFO | jvm 1 | 2008/04/17 16:49:20 | java.sql.SQLException: [GENSAPP12]Invalid object name 'SNP_CONNECT'.
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.a.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.if(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.a(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.g.for(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.int(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.inet.tds.c.executeQuery(Unknown Source)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.e.h(e.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.n.a(n.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.j.f.run(f.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.y(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at com.sunopsis.dwg.cmd.i.run(i.java)
    INFO | jvm 1 | 2008/04/17 16:49:20 | at java.lang.Thread.run(Unknown Source)
    It seems to be a connexion error but I have regenerate all the repository connexion information for OdiParams.bat and nothing change.
    If you have an idea I really need it.
    Thanks in advance.
    BM

    Hi Micropole,
    It may have something to do with
    SNP_SECU_USER & SNP_SECU_ENCODED_PASS pointing to something other than the Master Repository schema.
    Can you please double check?
    thanks.

  • Problems creating a web service that uses the report generation toolkit

    Hi,
           Im trying to develop a web service using labview 2013.
    I create a html form that is correctly communicating with my labview method and part of the web service functionality is to create a report from the data obtained in the html form published.
    I realized that using the report generation toolkit inside of the web service method the server cannot generate a report. ( If I run the same Vi before publishing the web service it works on the server but it doesnt work after I deploy it)
    I thought that maybe Im unable to use the report generation toolkit VIs inside of the web service because Im not incluiding the (dynamic VIs labview uses when they run), I tried to add the excel dynamic library to the proyect but with no success.
    I also tried to use VI SERVER to call a VI that generates the report using the report generation toolkit  in the method that runs when the web service is call but  it doesnt work either.
    How can I deploy a web service able to use  the report generation toolkit ?, how can I deploy a web service able to use VI server ?
    Any help is really appreciated.
    Erwin Franz 
    Erlab

    The issue you are running into is actually a limitation intended by Microsoft.  They don't want windows services to be able to call into the ActiveX interface for Microsoft Office for security reasons.  If you are deploying your web service to the NI Application Web Server on Windows you will run into this problem since the web server is a Windows Service.
    While I haven't tested this, you may be able to work around this by packaging your Web service with a LabVIEW EXE rather than deploying to the NI Application Web server. 
    Mark
    LabVIEW R&D

  • Socket Exception Invalid argument create on Windows service in process mode

    Please help , Iam getting SocketException Error on connecting with mysql using jdbc also when connect to Activemq jms. Strange thing is this is only
    happening on Windows Server(2008) and when i run the application as Windows service with 'jvm' (in-process) option. Program can connect
    when i run as Java exe in the Windows Service.
    Java JDK version - jdk1.6.0_26.
    Thanks in advance, please ask if any more info needed.
    -- mysql connect--
    Database Driver="com.mysql.jdbc.Driver" Host="jdbc:mysql://localhost:3306/mydb?useUnicode=true&amp;characterEncoding=UTF8" User="admin" Password="password"
    Java.net.SocketException
    MESSAGE: Invalid argument: create
    STACKTRACE:
    java.net.SocketException: Invalid argument: create
    at java.net.Socket.createImpl(Socket.java:397)
    at java.net.Socket.<init>(Socket.java:371)
    at java.net.Socket.<init>(Socket.java:189)
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:124)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:1779)
    at com.mysql.jdbc.Connection.<init>(Connection.java:450)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at myapp.JDBCLoader.JDBCConnect(JDBCLoader.java:129)
    ----on activemq connect ---
    javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616?connectionTimeout=0&keepAlive=true&wireFormat.maxInactivityDuration=0. Reason: java.net.SocketException: Invalid argument: create
    at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
    at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:286)
    at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:230)
    at org.apache.activemq.ActiveMQConnectionFactory.createQueueConnection(ActiveMQConnectionFactory.java:193)
    at sen.connector.queue.ConnectionFactory.createQueueConnection(ConnectionFactory.java:60)
    at sen.connector.queue.ConnectionFactory.createQueueConnection(ConnectionFactory.java:36)
    at sen.connector.queue.HostConnection.connectToHost(HostConnection.java:147)
    at sen.connector.queue.HostConnection.run(HostConnection.java:127)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.net.SocketException: Invalid argument: create
    at java.net.Socket.createImpl(Socket.java:397)
    at java.net.Socket.connect(Socket.java:527)
    at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:484)
    at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:447)
    at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)
    at org.apache.activemq.transport.InactivityMonitor.start(InactivityMonitor.java:127)
    at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
    at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
    at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
    at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
    at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:266)
    Edited by: 891207 on Oct 12, 2011 8:14 PM
    Edited by: 891207 on Oct 12, 2011 8:17 PM

    I'm sure that exception can be caused by the firewall.The exception below is what is caused by a firewall. Anyway the OP said that it worked fine running as a windows service, so that would rule-out a firewall. Also connections to 'localhost' don't go through the firewall.
    Expecting people to know that 'try a different JVM' I already explained that
    my initial diagnosis was incorrectHave a nice day.
    - Mike
    java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:512)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    554)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:232)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:28)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:553)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:154)
    at JDBCTest4.main(JDBCTest4.java:53)
    Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
    at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:388)
    at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:430)
    at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:871)
    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:264)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1598)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:360)
    ... 7 more
    Caused by: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:146)
    at oracle.net.nt.ConnOption.connect(ConnOption.java:129)
    at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:366)

  • EPMA Windows Services not starting

    Before you all jump on me, I've read almost all of the threads and documentation concerning this issue that are out there. I've checked the databases and they are configured appropriately, I've checked the IPv6 settings and they are ok. this EPMA installation is on a windows server 2008 r2 platform, Planning and other components are installed in a LINUX environment. I've got everything just about working except for the Dimension Server. The service will not start:
    Log Name: Application
    Source: Hyperion EPMA DimensionServer
    Date: 8/23/2012 11:59:52 AM
    Event ID: 0
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: my-server-name
    Description:
    Service cannot be started. Hyperion.DimensionServer.Interface.Exceptions.EPMAServiceException: Cannot initialize the Session Manager. ---> Hyperion.CommonServices.Exceptions.SessionManagerException: Session Manager could not start because database connectivity could not be established. ---> Oracle.DataAccess.Client.OracleException at Hyperion.DimensionServer.SessionManager.SessionManager.InitializeSqlConnectionString()
    --- End of inner exception stack trace ---
    at Hyperion.DimensionServer.SessionManager.SessionManager.InitializeSqlConnectionString()
    at Hyperion.DimensionServer.SessionManager.SessionManager.Initialize(String configFileName, Boolean restorePastInstanceSessions, Boolean enableCaching)
    --- End of inner exception stack trace ---
    at Hyperion.DimensionServer.Service.Main.InitializeSessionManager()
    at Hyperion.DimensionServer.Service.Main.Start()
    at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Hyperion EPMA DimensionServer" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-08-23T15:59:52.000000000Z" />
    <EventRecordID>4404</EventRecordID>
    <Channel>Application</Channel>
    <Computer>my-server-name</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Service cannot be started. Hyperion.DimensionServer.Interface.Exceptions.EPMAServiceException: Cannot initialize the Session Manager. ---&gt; Hyperion.CommonServices.Exceptions.SessionManagerException: Session Manager could not start because database connectivity could not be established. ---&gt; Oracle.DataAccess.Client.OracleException at Hyperion.DimensionServer.SessionManager.SessionManager.InitializeSqlConnectionString()
    --- End of inner exception stack trace ---
    at Hyperion.DimensionServer.SessionManager.SessionManager.InitializeSqlConnectionString()
    at Hyperion.DimensionServer.SessionManager.SessionManager.Initialize(String configFileName, Boolean restorePastInstanceSessions, Boolean enableCaching)
    --- End of inner exception stack trace ---
    at Hyperion.DimensionServer.Service.Main.InitializeSessionManager()
    at Hyperion.DimensionServer.Service.Main.Start()
    at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)</Data>
    </EventData>
    </Event>
    Dimension SErver log:
    [2012-08-23T11:58:06.501-04:00] [EPMADIM] [NOTIFICATION:32] [EPMADIM-1] [EPMADIM.Hyperion.NetJNIBridge.Process.Program] [tid: EPMA NetJNIBridge] [ecid: disabled,0] Binding to port: 5255
    [2012-08-23T11:58:06.657-04:00] [EPMADIM] [NOTIFICATION:32] [EPMADIM-1] [EPMADIM.Hyperion.DimensionServer.Utility.ChannelUtility] [tid: EPMA NetJNIBridge] [ecid: disabled,0] Detected pure IPv4 environment. Using default binding.
    [2012-08-23T11:59:52.176-04:00] [EPMADIM] [NOTIFICATION:32] [EPMADIM-1] [EPMADIM.Hyperion.DimensionServer.Global] [tid: EPMA Server Startup] [ecid: disabled,0] Dimension Server terminated.
    [2012-08-23T11:59:52.380-04:00] [EPMADIM] [INTERNAL_ERROR:32] [EPMADIM-1] [EPMADIM.Hyperion.CommonServices.Exceptions.BaseException] [tid: EPMA Server Startup] [ecid: disabled,0] SVR_ERR_PROCESSMGR_CANT_INIT_SESSIONMGR:Cannot initialize the Session Manager. at Hyperion.DimensionServer.Service.Main.InitializeSessionManager()
    at Hyperion.DimensionServer.Service.Main.Start()
    I don't know if this is relevant but here's a snippet from the shared services security log:
    [2012-08-23T11:41:18.958-04:00] [EPMCSS] [TRACE] [] [oracle.EPMCSS.CSS] [tid: 29] [ecid: 0000J_K7LfyComI_mp0FyZ1GD^h3000009,0] Duplicate Entry[[
    com.hyperion.css.dal.DALUniqueConstraintException: ORA-00001: unique constraint (EBASEADM.PK_PROV_INFO) violated
    at com.hyperion.css.dal.jdbc.oracle.OracleExceptionHandler.handle(OracleExceptionHandler.java:20)
    at com.hyperion.css.dal.jdbc.wrapper.CSSPreparedStatement.executeUpdate(CSSPreparedStatement.java:129)
    at com.hyperion.css.store.policy.PolicyStoreImpl.addRolesForEntry(PolicyStoreImpl.java:985)
    at com.hyperion.css.facade.impl.CSSUserProvisioningAPIImpl.setRolesList(CSSUserProvisioningAPIImpl.java:2352)
    at com.hyperion.css.facade.CSSUserProvisioningFacade.setRolesList(CSSUserProvisioningFacade.java:1059)
    at com.hyperion.interop.lib.helper.RegistryHelper.reRegisterApplication(RegistryHelper.java:646)
    at com.hyperion.interop.lib.helper.RegistrationHelper.register(RegistrationHelper.java:565)
    at com.hyperion.interop.lib.CMSClient.register(CMSClient.java:738)
    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.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
    at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
    at org.mozilla.javascript.gen.c66._c0(D:\Oracle\EPMSystem11R1\common\config\11.1.2.0\resources\repository\product\epmawebtier\58-register-instance-file.js:45)
    at org.mozilla.javascript.gen.c66.call(D:\Oracle\EPMSystem11R1\common\config\11.1.2.0\resources\repository\product\epmawebtier\58-register-instance-file.js)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
    at org.mozilla.javascript.gen.c66.call(D:\Oracle\EPMSystem11R1\common\config\11.1.2.0\resources\repository\product\epmawebtier\58-register-instance-file.js)
    at org.mozilla.javascript.gen.c66.exec(D:\Oracle\EPMSystem11R1\common\config\11.1.2.0\resources\repository\product\epmawebtier\58-register-instance-file.js)
    at org.mozilla.javascript.Context.evaluateReader(Context.java:1119)
    at com.hyperion.hit.tool.deploy.script.ProductDeployScriptRunner.runNextScript(ProductDeployScriptRunner.java:187)
    at com.hyperion.cis.config.DeploymentApiAdapter.deploy(DeploymentApiAdapter.java:118)
    at com.hyperion.config.wizard.impl.RunAllTasks.executeAppDeploymentTask(RunAllTasks.java:804)
    at com.hyperion.config.wizard.impl.RunAllTasks.execute(RunAllTasks.java:498)
    at com.hyperion.config.wizard.impl.RunnAllTasksState.run(RunnAllTasksState.java:90)
    at java.lang.Thread.run(Thread.java:619)
    Any insight as to what I can do here will be appreciated!

    You should take a look at the *"Database Installation"* part from the Installation Start here guide since if you are using Oracle Database to configure the EPMA components you need to install the Full Oracle Database Client since the PATH variable includes the path to the /bin folder for the Database client.
    Following is from the installation start here guide for EPM 11.1.2.2
    Install the full Oracle Database client on the following machines before you start your installation of EPM System products:
    Performance Management Architect Dimension server.
    Note:
    1. It is important to install the full database client as part of the installation because the PATH variable is updated to include the path to the /bin folder of the Oracle client.This setting is required for successful configuration.
    2. If you are using Oracle Database 10.2.0.4+, you must use a minimum of Oracle Database client 11.1.0.6.0.
    3. Performance Management Architect and Financial Management both require that a 64-bit Oracle Database client be installed.
    Thanks
    HyperEPM

  • Problem Creating a HTTP Service in SOAMANAGER

    Hi all,
    I am having difficulty in setting up a HTTP Service in SOAMANAGER.
    I have generated the Enterprise Service - Service Definition Succesfully in SAP from a RFC Enabled Function Group( this is working fine).
    I then go into SOAMANAGER -> Single Service Administration -> Select the Service -> Select the Configurations Tab -> Create Service
    The problem I have is that when this comes up under the
    Provider Security Tab -> Transport Guarantee -> Communication Security
    I do not have a radiobutton for "None" (this is what I want to select to create a HTTP service.)
    I have the options
    - SSL over HTTP (Transport Channel Security)
    - Asymmetric Message/Signature / Encryption
    - Symmetric Message/Signature Encryption
    Secure Conversation
    If you see William Li's blog /people/william.li/blog/2010/02/15/how-to-avoid-authentication-when-accessing-ws-provider-service you item 3.6 shows how the screen is supposed to look (with the additional option of "None" as the first radiobutton).
    My current workaround is to define the service and then go into SICF, select the service and change the Security Requirement from SSL to Standard on the Logon Data Tab. Although this works it is not the ideal solution.
    I'm wondering if there is something we are missing in our soap run time, perhaps a configuration setting we need to set in srt_admin. (I believe this option was there before we did a service pack upgrade)
    Has anyone experienced this before?

    Hi John,
    I've experimented something like that before. I think solution was:
    - Search the webservice in SE80, Repository Information System -> Enterprese Services
    - Enter the service definition
    - Go to 'Configuration' tab
    - Click on 'Transport Security'/'Authentication'
    - In profile setting, switch it for 'Low' or 'None'
    I believe this will turn available the option you're looking for.
    Kind regards,
    Garcia

  • Problem creating J2ME web service client

    Hi,
    I am using netbeans (5 and 5.5 beta 2). I have created a web service which works fine. I also created a regular web service client as a standalone application which also works fine and connects to my web service with no problem.
    BUT, when I want to create a J2ME web service client (under a J2ME application) I have to locate my WSDL file. but the wizard shows me the error "WSDL file does not contain port information".
    By looking at the WSDL file I can see that port is created - or maybe I'm wrong.
    piece from WSDL file:
    <service name="myServiceName">
    <port name="myServiceSPort" binding="tns:TranslatorWSPortBinding">
    <soap:address location="myURLLocation"/>
    </port>
    </service>
    Please note that I have replaced the actual values in above piece
    I tried to use wsgen manually but it didn't help.
    Can anyone help me in generating the correct WSDL format as J2ME web service client expects?
    Thanks a lot,
    S.

    well stubs are generated separately using WTK 2.5 stub generator but the problem is with the WSDL at this point.
    S.

  • SOA Windows service V Start SOA Suite command

    What is the difference between running the Window service called
    "OracleDb10_homeProcessManager" and running "Start SOA Suite" from the Programs run Menu?
    What components start in each case?
    What programs are shut down when "Stop SOA Suite" is run from the Programs Menu?
    Thanks in advance
    Paul P

    Oops sorry, I meant what's the difference between the <b>Oracle-soaProcessManager </b> service and the "Start SOA Suite" programs command.
    <br>
    Paul P

  • Problem creating Bootable Windows 10 USB drive with Bootcamp 5.1

    Hi all,
    I have read quite a number of threads (here and elsewhere on the internet) with problems creating a Bootable USB installation for Windows 10 on OSX Mavericks.    The usual response is "make sure your .ISO is unmounted".    With that being said, it appears that for most users on OSX Mavericks, this alone does not fix the issue.
    The specific error I get is:
    "Boot Camp only supports Windows 7 or later installation on this platform. Please use an ISO file for Windows 7 or later installation."
    As mentioned I have double checked that the ISO is not mounted.    Anyone happen to have any solutions?    Also, would creating a bootable drive from a windows machine still work with my Mac the same way it would if it was created with bootcamp?
    System specs are:     OSX 10.9 Mavericks, Early 2011 Macbook Pro, (MacBookPro8,3).
    Cheers,
    Jonathan

    W10 is not officially supported. BC Assistant checks available software signatures on ISO images to verify that it can be used. This checking is not always 100% fool-proof, though. You are using a 2011 MBP, which is also a factor in this. One option you can try is to install an evaluation version of W8+ and then upgrade to W10. The upgrade does not require BC Assistant, once Windows is fully installed.

Maybe you are looking for

  • Formatting for columns in group above report(non grp col)

    Hi I have a report that is group above. So for every record that appears in the group above, below is the corresponding fields. What I am trying to do is apply formatting like font, hide/show etc to the rows below. How can I do that. record1.........

  • How can I maximize video quality of SMplayer?

    I use Smplayer and I was wondering whether there is some sort of recommended codec and/or setup for smplayer to maximize the quality of videos

  • I droped my creative mi

    i dropped mi zen micro and no wen i on da zen micro it jus goes to da creative sign and i need to wait for da battery to die to off da zen micro and it wont let me listen to any music or nutin can u help plz?

  • I´m not able to stablish wireless conextion from Macs with Leopard

    Hi, I have a new AirPort Extreme 802.11n and I´m not able to stablish wireless conextion from Macs with Leopard. I´m following the manual´s steps to connect a Mac and it doesn´t work. Does it have to be with Leopard? Should I do something after updat

  • Fiori - Generic Approval App

    Hi everybody, today my boss asked me if there is a generic approval app in Fiori. I replied that there are several apps available to approve different requests: Approve Leave Requests Approve Travel Requests Approve Travel Expenses Approve Timesheets