Hi, all I have an application. I can start it by means of .cmd file @echo off
Rem
---------------------------------------------------------------------------
Rem ProDD start shell Rem
---------------------------------------------------------------------------
@echo Starting ProDD... Rem
------------------------------------------------------------ Path variables
SET JAVA_HOME="C:\Program Files\Java\jdk1.7.0_09" SET
JARS_HOME="C:\apps\jars" Rem
----------------------------------------------------- system library SET
CP=%JARS_HOME%\dbalab\ProDD.jar SET
CP=%CP%;%JARS_HOME%\dbalab\ProDDServer.jar Rem
------------------------------------------------ application library SET
CP=%CP%;%JARS_HOME%\dbalab\OMS.jar Rem
------------------------------------------------------- Oracle JDBC library
SET CP=%CP%;%JARS_HOME%\jdbc\ojdbc6.jar Rem
---------------------------------------------------------- DBF JDBC library
SET CP=%CP%;%JARS_HOME%\jdbf\javadbf-0.4.0.jar REM
-------------------------------------------------------- POI Office library
SET CP=%CP%;%JARS_HOME%\poi\poi-3.7-20101029.jar SET
CP=%CP%;%JARS_HOME%\poi\poi-scratchpad-3.7-20101029.jar Rem
--------------------------------------------------------- GlassFish library
SET CP=%CP%;%JARS_HOME%\glassfish\lib\gf-client.jar REM
---------------------------------------------------------------- Parameters
SET CLASS=com.carma.ProDD.Client SET params=-ASServer glassfish -ASHost
192.168.1.4 -ASPort 3700 -URL jdbc:oracle:thin:@192.168.1.4:1521:XE -User
CARMA -Password SYSTEM -FullStore -Office oo REM
--------------------------------------------------------------------- Start
%JAVA_HOME%\bin\javaw.exe -ms64m -mx1024m -noverify -cp %CP% %CLASS% %params%
pause It is necessary for me to start it by means of Java Web Start. I signed
archives. Made.jnlp the file. I try to start. The JVM starts , loads
resources, but the window of the program isn't started. Here my .jnlp file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> xxxxxxxxxxxx
xxxxxxxxxx -ASServer glassfish -ASHost 192.168.1.4 -ASPort 3700 -URL
jdbc:oracle:thin:@192.168.1.4:1521:XE -User XXXXX -Password XXXXX -FullStore
-Office oo I think a problem with connection to the glassfish 3.1.2.2 server
If to be connected to a database without glassfish, (to clean parameters
-ASServer glassfish -ASHost 192.168.1.4 -ASPort 3700 ) application starts
after start of .jnlp file. Prompt as it is possible to solve this problem.
--
[Message sent by forum member 'hoseka']
View Post: http://forums.java.net/node/892767