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&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)

Similar Messages

  • 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!

  • 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?

  • 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

  • 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.

  • 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

  • Services in SAP management console and related window services and process

    hai
    can u please any one of you can send me the services in SAP management console and related window services(in adminstrator/services) and process in task manager.
    thanks in advance.
    Naga Laxmi

    Hi Naga,
    Please refer to this article for the processes relevant to the Java Instance:
    http://help.sap.com/saphelp_nw04/helpdata/en/62/1bf03eae11e16be10000000a114084/frameset.htm
    Except the processes of the Java instance you can find several processes of the IGS server and the ABAP disp+work processes.
    You can easily find the relevant services by their SAP prefix.
    Hope this helps.
    Best Regards
    Vyara

  • Creating windows service

    Hi
    I have created a program to access a oracle database using oracle.dataaccess, .net framework 4, visual studio 2010 in C#.
    The program runs without any problem.
    If I try to create a windows service, I recieve the error
    Service cannot be started. System.BadImageFormatException:
    Could not load file or assembly 'Oracle.DataAccess, Version=2.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies.
    An attempt was made to load a program with an incorrect format.
    File name: 'Oracle.DataAccess, Version=2.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342'
    when i execute the command
    GlobalVariables.conn = new OracleConnection(oracelString);
    in the OnStart.

    Thank you for your reply.
    If I change from Any CPU to x86 build I recieve the following error when I run
    installutil epics1.exe
    C:\My Documents\Visual Studio 2010\Projects\Epics1Service\Epics1\bin\Release>installutil epics1.exe
    Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Exception occurred while initializing the installation:
    System.BadImageFormatException: Could not load file or assembly 'file:///C:\My Documents\Visual Studio 2010\Projects\Epics1Service\Epics1\bin\Release\epics1.exe' or one of its dependencies.
    An a attempt was made to load a program with an incorrect format..

  • Unable to create a Service to the windows Services

    Hi All,
    Im trying to create a Windows service as below:
    D:\VM's\TWiki-VM>sc create TWikiVM binPath="C:\Program Files\VMware\VMware Workstation\vmrun.exe" -T ws start D:\vm's\TWiki-VM\Twiki-6.0.vmx
    But i dont get the service created. I get the below message again & again as below:
    Creates a service entry in the registry and Service Database.
    SYNTAX:
    sc create [service name] [binPath= ] <option1> <option2>...
    CREATE OPTIONS:
    NOTE: The option name includes the equal sign.
     type= <own|share|interact|kernel|filesys|rec>
           (default = own)
     start= <boot|system|auto|demand|disabled>
           (default = demand)
     error= <normal|severe|critical|ignore>
           (default = normal)
     binPath= <BinaryPathName>
     group= <LoadOrderGroup>
     tag= <yes|no>
     depend= <Dependencies(separated by / (forward slash))>
     obj= <AccountName|ObjectName>
           (default = LocalSystem)
     DisplayName= <display name>
     password= <password>
    I have also tried mentioning all the options, but still the same. Please find the snapshot below:
    Kindly advice.
    Regards, Alan.

    Hi Alan,
    I'm guessing that -T is a parameter to the vmrun.exe executable, right?
    So if you type in the following instead, it should work to create the service.
    #With SC
    sc create TWikiVM binPath= "C:\Program Files\VMware\VMware Workstation\vmrun.exe -T ws start D:\vm's\TWiki-VM\Twiki-6.0.vmx"
    #With PowerShell
    New-Service -BinaryPathName "C:\Program Files\VMware\VMware Workstation\vmrun.exe -T ws start D:\vm's\TWiki-VM\Twiki-6.0.vmx" -Name TWikiVM
    Notice the space between binPath= "" and the executable
    However, note that depending on vmrun.exe's behaviour it might not work anyway when you try to start the service.
    Hope this helps you!
    MCT | MCSE: Private Cloud/Server, Desktop Infrastructure

  • How to Create a windows xp service

    I have several java routines that I currently call from a bat file via the the windows task scheduler. Prob #1: the bat file always causes a dos window to open which if someone closes it, terminates the rest of the routines. Prob #2: solution would be to create a windows service routine which would call all the above, however I don't have a clue as how to do that. Help??

    However you can't run a batch script as a service in Windows. I think you are looking in the wrong place for a solution.

  • Create windows service

    Hi!
         I'm trying to create a windows service from PB Classic 12.5. Does anyone know or have a sample about how can I create this? I tried to create a simple application that  change a registry key. I generated an exe file and executed this command line on cmd [sc create <new_service_name> binpath= "<path_to_the_executable>"]. This created the service on Windows service list, but this error occurred: error 1053 the service did not respond to the start or control request in a timely fashion.
    Can anyone help me?
    Thanks in advance.
    Pedro Soares

    Hi Pedro;
      FYI .. here is what I use ...  http://www.firedaemon.com/
    HTH
    Regards ... Chris

  • Create windows service in azure

    I want to create one window service in azure.
    actually i want do that my task running in cloud all the time in azure.
    i have tried to search it on net but i dont get any good solution.
    Also i want free trial azure account. (i tried to create it but at last it ask me for credit card info).
    So please tell me what is requied to do it.
    sagar patel

    Hello sagar_patel,
    1. Whay kind of a task are you trying to deploy onto azure platform?
    2. When you say that you want to create a Windows service, do you mean that you want to create a Web Server?
    3. Are you trying to deploy any website, web application?
    Please refer to the link below that will give you information on the type of services offered and How to get started:
    http://azure.microsoft.com/en-us/documentation/services/cloud-services/
    About signing up for free trial, you will need to enter your credit card information when you sign up for azure services. To ensure a valid credit card, Microsoft will charge your credit card $1 when signing up for the Free Trial Offer. This is only an authorization
    hold, the charge will be reversed within 3-5 business days.
    http://azure.microsoft.com/en-in/pricing/free-trial-faq/
    Thanks,
    Syed Irfan Hussain

  • CF10 Multiserver - Create windows service

    Hi,
    I've installed ColdFusion 10 on my development machine (Windows 7 64bit) and yesterday created a new server instance in CF10 using the "Enterprise Manager" in the ColdFusion Administrator.  During the creation of this new instance, I didn't check the checkbox to create a Windows service.
    Now, I've changed my mind and would like to have a Windows service for this new instance, however I can't figure out how to do it.
    I expect you use the coldfusionsvc.exe for this, however I am not having any success with it. What parameters do I need to pass to this to make it work?  The -h option gives the following, but I can't understand what I need to put for <jrun-server>:
    c:\ColdFusion10\nws\bin>coldfusionsvc.exe -h
    Usage: coldfusionsvc
    -install [-norestart] <jrun-server> [service-name [service-display [service-description]]] [-<jrun-option>...]
    or -remove service-name
    or -start service-name
    or -starttimeout <seconds> service-name
    or -stop service-name
    or -stoptimeout <seconds> service-name
    or -logfilesize <no_of_kbs> service-name
    or -logfileRotationLimit <no_of_files> service-name
    or -status service-name
    or -console service-name [-<jrun-option>...]
    If I try something like this, I get an error:
    c:\ColdFusion10\nws\bin>coldfusionsvc.exe -install nws "cf10-nsw" "ColdFusion 10 - NWS Instance"
    CreateService failed with error status 123
    The filename, directory name, or volume label syntax is incorrect.
    Can anyone please point me in the right direction?
    Many thanks,
    Andrew.

    The best solution I can find is to not use coldfusionsvc.exe to install the service.
    I did it using the sc command, as follows:
    sc create "ColdFusion 10 NWS Server" binPath= "C:\ColdFusion10\nws\bin\coldfusionsvc.exe" displayname= "ColdFusion 10 NWS Server" start= auto
    (note that the spaces after the equals signs are required)
    If you're a pedant like me and also want a description, it looks like you have to do this using a separate execution of the command:
    sc description "ColdFusion 10 NWS Server" "The ColdFusion 10 NWS Service"

  • Manually creating the oracle services inside windows services

    Hi All,
    After discussion we came up for the following conclusion and would like to have further discussion on the topic.
    - We have node 1 windows 2003 enterprise sp2 available on one of the server which has Oracle 11g R1 having custom database installed on it.
    - All database and Oracle server files are stored on shared storage.
    - It created windows services inside which we will be registered under cluster administrator
    - We will install Oracle 11g R1 on node 2 (Passive node of windows cluster) with the software only option.
    - We will manually create the oracle services on this node with the same name as we have on node 1.
    In case the node 1 will be failed, node 2 will fail over and will become active node for the users.
    Is there any one involve in such practice? did it work ?
    Thanks,

    I am installing 10g client and create an ORCL service using the Net configuration Assistant. I don't see this service when i open ontrol panel/administrative tools/services. Is this normal?
    I thought i wld see it and start the service and listener. Some confusion here.... first of all, listener is a server process, which listens for incoming calls, you don't have it on a client.
    Secondly, the service you created with Net Configuration Assistant is just an alias you'll use to connect a remote database to, and does not create any Windows service. You can find its specifications within tnsnames.ora file, in ORACLE_HOME\network\admin directory.
    I'd read some documentation

  • Difficulty understanding Windows service credentials

    Hi all. I have created a windows service that uses FileSystemWatcher to keep track of metadata on files in a folder on a remote server. In testing, reading local files, the code works perfectly.
    When I try to use the service using any ProcessInstaller account except a User account the service installs, but when I try to start it I get "The directory name \\blah\blah\blah is invalid". (UNC or any other path, same result.)
    When I specify a user account, including an administrator account on the service host machine that has read-write access to the remote folder, I get
    System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invalid for the
    account name specified
    So what do I need to specify to get this service to start?

    "LocalSystem/LocalSystem, User/LocalSystem, LocalSystem/User, etc. "
    None of these accounts have network access and therefore can be used to access remote resources.  Traditionally you would run the service under the NetworkService account to allow it network access but since you're trying to use a UNC path
    to access a remote server you would need to give the machine that is hosting the service access to the file path on the remote server.  Since this is generally not done you should probably run the service using a network account that you have created
    that has permissions to access the remote UNC path.
    To configure your installer to prompt for the user credentials at installation time you should set the process installer's Account property to ServiceAccount.User.  Alternatively if the service is already installed then open it in the Services.msc app
    and change the account under the Log On tab.
    Mapped drives will not work as they are per-user so you'll have to use a UNC path.  You'll also need to ensure that you have sufficient privileges as required by FSW. Finally note that FSW has problems when connectivity is lost in my experience (such
    as the remote machine rebooting).  Therefore since you are doing this in a service you might want to check that scenario explicitly and code for it (perhaps by resetting the FSW on certain errors).  It might be better in the newer frameworks but
    I had problem back in the v2 days with it.
    Michael Taylor
    http://blogs.msmvps.com/p3net
    Michael Taylor
    http://blogs.msmvps.com/p3net

Maybe you are looking for

  • How do i move pdf files from my macbook to the iCloud

    I have 3000 pdf files on my macbook. How do I move or copy them to the icloud?

  • How can i see BAPI's and RFC's in VC?

    Hi all, my problem is that i cannot see the BAPI's  and the RFC's on VC, any ideas? i have a user in my portal and i have superadmin and CV roles but when i start VC and click on "find data" a message of error appears, i have a user in r3 system too,

  • How do I use a voice memo as a ring tone or an alert tone?

    How do I use a voice memo as a ring tone or an alert tone?

  • Photobooth special effect not displaying properly

    Recently I have been having issues with just the Pop Art special effect in Photobooth. Only 1 of the 4 squares is working, the other 3 squares are just yellow. (See the link at the bottom for what it looks like). All the other effects are working fin

  • Quantity Conversion in BI 7

    Hi All, I have followed the documentation to do a quantity conversion from BT (Bottle) to TO in BI 7. Since they are not in the same dimension, I therefore have determined type 4 : Use T006 if available, otherwise, use reference InfoObject. I have re