[
https://issues.apache.org/jira/browse/DERBY-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828417#action_12828417
]
Bryan Pendleton commented on DERBY-4534:
----------------------------------------
What happens when you try to run the service? Do you get an error?
Are you using the "sc" command to create, start, and stop the service? Or are
you working with the Services control panel?
When I look closely at the command line that you provided, I can see that there
is an extra space character
in the path names: that is, you entered c:\apache\derby -10.4.1.3, and you
probably do NOT want that space after
the word "derby".
If you do actually have that space character in your paths, then you will need
to enclose the paths in quotes, so that
the argument parser doesn't break the argument at the space character.
Have you also checked all the other path names very carefully on your system?
That is, do:
dir C:\DB\DBDIMB\Software\Java\jre\bin\server
and
dir C:\Softwares\apache-tomcat-5.5.28\apache-tomcat-5.5.28\bin
and
dir C:\Apache\derby-10.4.1.3\lib
and let us know what the results are.
> Refering to the issue DERBY-4530, Unable to run Derby as windows service
> ------------------------------------------------------------------------
>
> Key: DERBY-4534
> URL: https://issues.apache.org/jira/browse/DERBY-4534
> Project: Derby
> Issue Type: Bug
> Components: Services
> Affects Versions: 10.4.1.3
> Environment: Windows XP
> Reporter: Vijender
> Priority: Critical
>
> Hi,
> Yesterday I have posted the issue DERBY-4530 regarding unable to run derby as
> windows service.
> DERBY-4530 ticket has been closed with out providing solution and mentioning
> that send a mail to [email protected]
> As mentioned in the ticket DERBY-4530 I send mail to [email protected]
> yesterday.
> Once again explaining the issue here below.
> Using the below command to create service for derby service as mentioned in
> the ticket DERBY-187. Service created successfully, but unable to run the
> service.
> Pls help me in creating the service and run successfully for derby server as
> this is very critical for me.
> C:\Softwares\apache-tomcat-5.5.28\apache-tomcat-5.5.28\bin\tomcat5.exe
> //IS//DerbyServer1 --DisplayName="DerbyServer1" --StartMode=jvm
> --StopMode=exe --StartClass=org.apache.derby.drda.NetworkServerControl
> --StartParams=start --Classpath=C:\Apache\derby
> -10.4.1.3\lib\derby.jar;C:\Apache\derby -10.4.1.3\lib\derbynet.jar
> --Jvm=C:\DB\DBDIMB\Software\Java\jre\bin\server\jvm.dll
> --StopClass=org.apache.derby.drda.NetworkServerControl --StopParams=shutdown
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.