when i dblclick run.bat shortcut i get error

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

when i dblclick run.bat shortcut i get error

ashok dhar
sir,
thank you for such wonderful program. i am in the process of installing this software.

when i dblclick the run.bat shortcut i get this error  
" c:\program is not an internal or external command operable program or batch file".

kindly help.

ashok dhar
 
Reply | Threaded
Open this post in threaded view
|

Re: when i dblclick run.bat shortcut i get error

ashok dhar
i tried changing the JAVA_HOME system variable path from
C:\Program files\Java\jdk1.7.0_40
to
C:\Progra~1\Java\jdk1.7.0_40

now on dblclicking the run.bat short cut i am getting this error.

"could not find or load main class program.name=run.bat"

kindly help.

ashok dhar
Reply | Threaded
Open this post in threaded view
|

Re: when i dblclick run.bat shortcut i get error

ashok dhar
i had accidentally given a space in between
-D program.name

set JAVA_OPTS=%JAVA_OPTS% -D program.name=%PROGNAME%

i removed the space
set JAVA_OPTS=%JAVA_OPTS% -D program.name=%PROGNAME%

now on dblclilcking the run.bat i am getting this output on command window.
kindly help.


OUTPUT OF COMMAND WINDOW GOES BELOW
===============================================================================
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-3.0.3p1_tomcat-4.1.12\bin\\..
.
  JAVA: C:\Progra~1\Java\jdk1.7.0_40\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat
.
  CLASSPATH: ;C:\Progra~1\Java\jdk1.7.0_40\lib\tools.jar;C:\jboss-3.0.3p1_tomcat
-4.1.12\bin\\run.jar
.
===============================================================================
.
17:19:32,727 INFO  [Server] JBoss Release: JBoss-3.0.3p1 CVSTag=JBoss_3_0_3_Sieb
el
17:19:32,735 INFO  [Server] Home Dir: C:\jboss-3.0.3p1_tomcat-4.1.12
17:19:32,735 INFO  [Server] Home URL: file:/C:/jboss-3.0.3p1_tomcat-4.1.12/
17:19:32,736 INFO  [Server] Library URL: file:/C:/jboss-3.0.3p1_tomcat-4.1.12/li
b/
17:19:32,737 INFO  [Server] Patch URL: null
17:19:32,737 INFO  [Server] Server Name: default
17:19:32,737 INFO  [Server] Server Home Dir: C:\jboss-3.0.3p1_tomcat-4.1.12\serv
er\default
17:19:32,738 INFO  [Server] Server Home URL: file:/C:/jboss-3.0.3p1_tomcat-4.1.1
2/server/default/
17:19:32,739 INFO  [Server] Server Data Dir: C:\jboss-3.0.3p1_tomcat-4.1.12\serv
er\default\db
17:19:32,740 INFO  [Server] Server Temp Dir: C:\jboss-3.0.3p1_tomcat-4.1.12\serv
er\default\tmp
17:19:32,741 INFO  [Server] Server Config URL: file:/C:/jboss-3.0.3p1_tomcat-4.1
.12/server/default/conf/
17:19:32,742 INFO  [Server] Server Library URL: file:/C:/jboss-3.0.3p1_tomcat-4.
1.12/server/default/lib/
17:19:32,742 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
17:19:32,745 INFO  [Server] Starting General Purpose Architecture (GPA)...
17:19:32,815 ERROR [Server] start failed
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepos
itory,name=Default
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Defaul
tMBeanServerInterceptor.java:1095)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:816)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801
)
        at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:
435)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
        at org.jboss.Main.boot(Main.java:148)
        at org.jboss.Main$1.run(Main.java:381)
        at java.lang.Thread.run(Thread.java:724)
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepos
itory,name=Default
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Defaul
tMBeanServerInterceptor.java:1095)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:816)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801
)
        at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:
435)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
        at org.jboss.Main.boot(Main.java:148)
        at org.jboss.Main$1.run(Main.java:381)
        at java.lang.Thread.run(Thread.java:724)
Press any key to continue . . .
Reply | Threaded
Open this post in threaded view
|

Re: when i dblclick run.bat shortcut i get error

Verus Open Source Support
The log commands show that you are using version 2 of NGL. Kindly see the installation instructions available at http://www.verussolutions.biz/kb/installationNew
These contain the download links also

On 09/23/2013 05:24 PM, ashok dhar [via NewGenLib] wrote:
i had accidentally given a space in between
-D program.name

set JAVA_OPTS=%JAVA_OPTS% -D program.name=%PROGNAME%

i removed the space
set JAVA_OPTS=%JAVA_OPTS% -D program.name=%PROGNAME%

now on dblclilcking the run.bat i am getting this output on command window.
kindly help.


OUTPUT OF COMMAND WINDOW GOES BELOW
===============================================================================
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-3.0.3p1_tomcat-4.1.12\bin\\..
.
  JAVA: C:\Progra~1\Java\jdk1.7.0_40\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat
.
  CLASSPATH: ;C:\Progra~1\Java\jdk1.7.0_40\lib\tools.jar;C:\jboss-3.0.3p1_tomcat
-4.1.12\bin\\run.jar
.
===============================================================================
.
17:19:32,727 INFO  [Server] JBoss Release: JBoss-3.0.3p1 CVSTag=JBoss_3_0_3_Sieb
el
17:19:32,735 INFO  [Server] Home Dir: C:\jboss-3.0.3p1_tomcat-4.1.12
17:19:32,735 INFO  [Server] Home URL: file:/C:/jboss-3.0.3p1_tomcat-4.1.12/
17:19:32,736 INFO  [Server] Library URL: file:/C:/jboss-3.0.3p1_tomcat-4.1.12/li
b/
17:19:32,737 INFO  [Server] Patch URL: null
17:19:32,737 INFO  [Server] Server Name: default
17:19:32,737 INFO  [Server] Server Home Dir: C:\jboss-3.0.3p1_tomcat-4.1.12\serv
er\default
17:19:32,738 INFO  [Server] Server Home URL: file:/C:/jboss-3.0.3p1_tomcat-4.1.1
2/server/default/
17:19:32,739 INFO  [Server] Server Data Dir: C:\jboss-3.0.3p1_tomcat-4.1.12\serv
er\default\db
17:19:32,740 INFO  [Server] Server Temp Dir: C:\jboss-3.0.3p1_tomcat-4.1.12\serv
er\default\tmp
17:19:32,741 INFO  [Server] Server Config URL: file:/C:/jboss-3.0.3p1_tomcat-4.1
.12/server/default/conf/
17:19:32,742 INFO  [Server] Server Library URL: file:/C:/jboss-3.0.3p1_tomcat-4.
1.12/server/default/lib/
17:19:32,742 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
17:19:32,745 INFO  [Server] Starting General Purpose Architecture (GPA)...
17:19:32,815 ERROR [Server] start failed
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepos
itory,name=Default
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Defaul
tMBeanServerInterceptor.java:1095)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:816)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801
)
        at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:
435)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
        at org.jboss.Main.boot(Main.java:148)
        at org.jboss.Main$1.run(Main.java:381)
        at java.lang.Thread.run(Thread.java:724)
javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepos
itory,name=Default
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Defaul
tMBeanServerInterceptor.java:1095)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:816)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801
)
        at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:
435)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
        at org.jboss.Main.boot(Main.java:148)
        at org.jboss.Main$1.run(Main.java:381)
        at java.lang.Thread.run(Thread.java:724)
Press any key to continue . . .


If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/when-i-dblclick-run-bat-shortcut-i-get-error-tp7574111p7574114.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: when i dblclick run.bat shortcut i get error

ashok dhar
In reply to this post by ashok dhar
Hello sir,

further to add here that

i am installing in windows 7 the InstallNGL3.0_2.zip  file from sourceforge

1) MY DATABASE HAS 299 tables all empty
2) i have copied web.war in C:\jboss-3.0.3p1_tomcat-4.1.12\server\default\deploy directory
3) i have extracted NewGenLibFiles.tar in c:\
4) the C:\NewGenLibFiles\SystemFiles\env_var file looks like this

JBOSS_HOME=C:\jboss-3.0.3p1_tomcat-4.1.12\server\default\deploy
IPADDRESS = frewillteescom
PORT = 8080
RESULTSET_SIZE=2000
TYPEOFSEARCH=LUCENE
DEFAULT_SEARCH=basicpage
ACCESS_XPDF=true
POSTGRESQL_VERSION=8.3
BIBLIOGRAPHIC_INDEX=/usr/indexes
BIBLIOGRAPHIC_TEMP_INDEX=/usr/indexes
AUTHORITY_INDEX=/usr/indexes
AUTHORITY_TEMP_INDEX=/usr/indexes
SOLR_SERVER_URL_FOR_BIBLIOGRAPHIC_DATA=http://localhost:8080/apache-solr-bib
SOLR_SERVER_URL_FOR_AUTHORITY_DATA=http://localhost:8080/apache-solr-auth
OC_SERVER_URL=76.237.84.130:8080
INDEX_URLS=NO
INDEX_ATTACHMENTS=NO

in this file
i have only changed the line  1 and 2 ie
JBOSS_HOME=C:\jboss-3.0.3p1_tomcat-4.1.12\server\default\deploy
IPADDRESS = freewillteescom

rest is as it is.


kindly help.

ashok dhar