DERBY_OPTS/DERBY_CMD_LINE_ARGS is there anywhere a list

2014-02-26 Thread Kempff, Malte
Hi to all,

I used to use Derby as embedded data base. Right now I'd like to use it as 
Server.

When I start the server (on my own mashine right now) by using 
startNetworkServer.bat,

I got a warning that there is no acess on c:\derby.log.

After researching on that I understood, that it would be great to give the 
derby.system.home. I also read about derby.proerties file, where obviously 
properties are stored. Of course you can give derby.system.home right on the 
start using -Dprops-name, but if I just like to use the startNetworkServer.bat 
how I do that there? In that File I saw something like DERBY_OPTS and 
DERBY_CMD_LINE_ARGS as variables But where not really able to see where the 
OPTS are supposed to be set (assuming/guessing) that here java-Properties are 
to be set) A Listing of DERBY_CMD_LINE_ARGS I could not find either.



So using that startNetworkServer.bat what is the best/correct way to provide 
derby.system.home property?



Thank for Help in advance



Malte


 Disclaimer: The contents of this electronic mail message are only binding upon 
Equens or its affiliates, if the contents of the message are accompanied by a 
lawfully recognised type of signature. The contents of this electronic mail 
message are privileged and confidential and are intended only for use by the 
addressee. If you have received this electronic mail message by error, please 
notify the sender and delete the message without taking notices of its content, 
reproducing it and using it in any way. 



Re: DERBY_OPTS/DERBY_CMD_LINE_ARGS is there anywhere a list

2014-02-26 Thread Peter Ondruška
On my Windows I start Derby network server like this:

set DROPBOX=%USERPROFILE%\Dropbox
set PATH=%DROPBOX%\derby\bin;%PATH%
set DERBY_OPTS=-Xms256m -Xmx256m
set DERBY_OPTS=-Dderby.storage.pageCacheSize=4096 %DERBY_OPTS%

set DERBY_OPTS=-Djava.security.manager %DERBY_OPTS%
set DERBY_OPTS=-Djava.security.policy=%DROPBOX%\config\derby.policy %DERBY_OPTS%
set DERBY_OPTS=-Dderby.system.home=C:\TEMP %DERBY_OPTS%
start Derby server startNetworkServer

Peter

 On 26 Feb 2014, at 11:23, Kempff, Malte malte.kem...@de.equens.com wrote:
 
 Hi to all,
 I used to use Derby as embedded data base. Right now I‘d like to use it as 
 Server.
 When I start the server (on my own mashine right now) by using 
 startNetworkServer.bat,
 I got a warning that there is no acess on c:\derby.log.
 After researching on that I understood, that it would be great to give the 
 derby.system.home. I also read about derby.proerties file, where obviously 
 properties are stored. Of course you can give derby.system.home right on the 
 start using –Dprops-name, but if I just like to use the 
 startNetworkServer.bat how I do that there? In that File I saw something like 
 DERBY_OPTS and DERBY_CMD_LINE_ARGS as variables But where not really able to 
 see where the OPTS are supposed to be set (assuming/guessing) that here 
 java-Properties are to be set) A Listing of DERBY_CMD_LINE_ARGS I could not 
 find either.
  
 So using that startNetworkServer.bat what is the best/correct way to provide 
 derby.system.home property?
  
 Thank for Help in advance
  
 Malte
 
  Disclaimer: The contents of this electronic mail message are only binding 
 upon Equens or its affiliates, if the contents of the message are accompanied 
 by a lawfully recognised type of signature. The contents of this electronic 
 mail message are privileged and confidential and are intended only for use by 
 the addressee. If you have received this electronic mail message by error, 
 please notify the sender and delete the message without taking notices of its 
 content, reproducing it and using it in any way. 
 


Connect to derby database on raspberry pi

2014-02-26 Thread hirschniesel
Hi,

I installed the apache derby db on my raspberry pi as described under

http://dev.uhilger.de/dok/ulrich/Artikel/Serverbetrieb/Serveranleitung

There ist described, that I should copy the derby.jar, derby.jar,
derbynet.jar and derbyclient.jar into the tomcat lib folder and the
derby.war into the tomcat webapp folder. The database should be available
under the URL raspberry-IP:8443 and so it is. The page under this URL says,
that the database server runs under port 1527. But I can´t get a connection
to the database from my windows 7 PC. I checked my firewall (comodo) and
opened the port 1527. Although I checked my router, and opened in the
integrated firewall the port. But nothing changed. Can anyone help me and
give me a hind, what I can do?
I tried to get the connection via ij-tool on the command line, but I get the
error:
Error 08001 Connection refused

Thanks for every help.
Andreas



--
View this message in context: 
http://apache-database.10148.n7.nabble.com/Connect-to-derby-database-on-raspberry-pi-tp137344.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.