AWAREIM not starting on windows vista

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
uche40
Posts: 23
Joined: Mon May 12, 2008 11:14 pm

AWAREIM not starting on windows vista

Post by uche40 »

I'm runnig windows vista and all of a sudden , i can not seem to start awareIm. i get an error when i try to start the aware control panel. I think it may have something to do with memory, so after reading the installation manual and searching through the forums i put the startupOptions.props file in the bin directory and increased the memory allocated to jboss and tomcat. but this did not do anything. I as wondering if any had any thoughts. i have included the output of my startupOptions.props file, and other awareim files as well below for anyone who is feeling up to it.

startupOptions.props

Code: Select all

# This is an example of a file that controls startup options of different Aware IM components
# started by Aware IM Control Panel.
# By changing the default options you can control memory allocation for different components,
# JDK to be used etc

TOMCAT_STARTUP=..\\JDK\\bin\\java -Xmx192m -Djava.endorsed.dirs=../Tomcat/common/endorsed -classpath ../JDK/lib/tools.jar;../Tomcat/bin/bootstrap.jar -Dcatalina.base=../Tomcat -Dcatalina.home=../Tomcat -Djava.io.tmpdir=../Tomcat/temp org.apache.catalina.startup.Bootstrap start
JBOSS_STARTUP=..\\JDK\\bin\\java -Xmx192m -Djboss.home.dir=../JBoss -classpath ../JDK/lib/tools.jar;../JBoss/bin/run.jar org.jboss.Main -c bas
CONFIG_TOOL_STARTUP=..\\JDK\\bin\\java -classpath ../JDK/lib/tools.jar;../JBoss/client/jnp-client.jar;../JBoss/client/jnet.jar;../JBoss/client/jboss-common-client.jar;../JBoss/client/jbossmq-client.jar;../JBoss/client/jboss-j2ee.jar;../Tomcat/common/lib/servlet-api.jar;../Tomcat/common/lib/jsp-api.jar;../JBoss/client/concurrent.jar;../Tomcat/shared/lib/openAdaptor.jar;../Tomcat/shared/lib/jgraph.jar;../Tomcat/shared/lib/jasperreports-0.5.0.jar;../Tomcat/shared/lib/xerces.jar;../Tomcat/shared/lib/commons-digester.jar;../Tomcat/shared/lib/commons-collections.jar;../Tomcat/shared/lib/commons-beanutils.jar;../Tomcat/shared/lib/itext-0.96.jar;../Tomcat/shared/lib/log4j-1.2.8.jar;../Tomcat/shared/lib/regexp.jar;../Tomcat/shared/lib/jakarta-poi-1.5.1.jar;../Tomcat/shared/lib/commons-logging.jar;../Tomcat/shared/lib/jhall.jar;../docs/help.jar;../Tomcat/shared/lib/looks-1.3.1.jar;../Tomcat/shared/lib/jacob.jar;../Tomcat/shared/lib/awareim.jar com.bas.uiconfiguration.Application
startup logs Jboss

Code: Select all


23:29:23,533 INFO  [Server] Starting JBoss (MX MicroKernel)...
23:29:23,533 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.8.SP1 (build: CVSTag=JBoss_3_2_8_SP1 date=200603031235)
23:29:23,549 INFO  [Server] Home Dir: C:\AwareIM\JBoss
23:29:23,549 INFO  [Server] Home URL: file:/c:/AwareIM/bin/../JBoss/
23:29:23,549 INFO  [Server] Patch URL: null
23:29:23,549 INFO  [Server] Server Name: bas
23:29:23,549 INFO  [Server] Server Home Dir: C:\AwareIM\JBoss\server\bas
23:29:23,549 INFO  [Server] Server Home URL: file:/c:/AwareIM/JBoss/server/bas/
23:29:23,549 INFO  [Server] Server Temp Dir: C:\AwareIM\JBoss\server\bas\tmp
23:29:23,549 INFO  [Server] Root Deployment Filename: jboss-service.xml
23:29:23,955 INFO  [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc.
23:29:23,955 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc.
23:29:23,955 INFO  [ServerInfo] OS-System: Windows NT (unknown) 6.0,x86
23:29:24,252 INFO  [Server] Core system initialized
23:29:26,064 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
23:29:26,283 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:9650, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
23:29:27,017 INFO  [RARMetaData] Required license terms present. See deployment descriptor.
23:29:27,080 INFO  [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers
23:29:27,080 INFO  [RARMetaData] Required license terms present. See deployment descriptor.
23:29:27,127 INFO  [RARMetaData] Required license terms present. See deployment descriptor.
23:29:36,549 WARN  [ServiceController] Problem starting service jboss:service=Hypersonic,database=localDB
java.sql.SQLException: Out of Memory
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:756)
	at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:606)
	at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:552)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:404)
	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:288)
	at $Proxy11.start(Unknown Source)
	at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:241)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
	at $Proxy7.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:404)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
	at org.jboss.Main.boot(Main.java:201)
	at org.jboss.Main$1.run(Main.java:459)
	at java.lang.Thread.run(Unknown Source)
23:29:47,283 INFO  [MailService] Mail Service bound to java:/Mail
23:29:48,783 INFO  [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
23:29:49,189 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Hypersonic,database=localDB
  State: FAILED
  Reason: java.sql.SQLException: Out of Memory
  Depends On Me:
    jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Hypersonic,database=localDB
  State: FAILED
  Reason: java.sql.SQLException: Out of Memory
  Depends On Me:
    jboss.jca:service=ManagedConnectionFactory,name=DefaultDS


23:29:49,283 INFO  [Server] JBoss (MX MicroKernel) [3.2.8.SP1 (build: CVSTag=JBoss_3_2_8_SP1 date=200603031235)] Started in 25s:734ms
BASServer file

Code: Select all


#BAS Server Startup Properties
#Fri Jan 18 12:55:08 PST 2002
SystemPort=9000
ChannelTypeSK=com.bas.basserver.channels.SocketChannelType
ChannelTypeMail=com.bas.basserver.channels.EmailChannelType
ChannelTypeTimer=com.bas.basserver.channels.TimerChannelType
ChannelTypeURL=com.bas.basserver.channels.URLChannelType
ChannelTypeWebServices=com.bas.basserver.channels.WebServicesChannelType
ReplyTopic=topic/skoutputtopic
RequestQueue=queue/skinputqueue
LocalTopic=topic/defaultoutputtopic
LocalQueue=queue/defaultinputqueue
NotificationOutTopic=topic/notifouttopic
NotificationInQueue=queue/notifinqueue
DirectoryService=org.jnp.interfaces.NamingContextFactory
DirectoryServiceProvider=jnp://localhost:9650/
JMSFactory=ConnectionFactory
DriverClassName=org.apache.derby.jdbc.EmbeddedDriver
DriverURL=jdbc:derby:BASDB;create=true
DriverTestURL=jdbc:derby:BASDBTEST;create=true
DatabaseName=BASDB
DatabaseNameTest=BASDBTEST
DatabaseComponent=com.bas.basserver.persistence.dbplugins.CloudscapeInterface
DatabaseDirectory=../DATA
StartRange=1
EndRange=100000
Hub=true
MaxNmbOfRepeats=1000
MaxNmbOfRepeatsWithoutChange=50
SessionTimeout=3600000
UIProcessTimeout=1800000
DocumentEngines=com.bas.basserver.documents.JasperReportsEngine,com.bas.basserver.documents.MSWordDocumentEngine,com.bas.basserver.documents.TextDocumentEngine,com.bas.basserver.documents.HtmlDocumentEngine,com.bas.basserver.documents.MSExcelDocumentEngine
AwaresoftHost=localhost
AwaresoftPort=8080
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

The easiest way to recover from this is:

1. Install Aware IM evaluation version in a separate folder
2. Copy the entire JBoss directory under Aware IM folder of the evaluation version to the corresponding folder of the production version overwriting the existing folder
3. Re-start Aware IM
Aware IM Support Team
uche40
Posts: 23
Joined: Mon May 12, 2008 11:14 pm

I will try that

Post by uche40 »

I will try that out and let you know what happens. What is the cause of this so that i can avoid it in future. Is it Vista issue or just Jboss?
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

This has nothing to do with Vista. It's JBoss. It saves its state in the database when the software has been incorrectly shut down and runs out of memory trying to restore the state on startup. Deleting the files that store the state or increasing memory fixes the problem.
Aware IM Support Team
uche40
Posts: 23
Joined: Mon May 12, 2008 11:14 pm

Post by uche40 »

I would think that increasing the memory would be a better approach. Where do i increase the memory?

If it is the startupOptions.props file then what am i doing wrong in the above startupOptions.props where i did try to increase the memory?
uche40
Posts: 23
Joined: Mon May 12, 2008 11:14 pm

Post by uche40 »

I got it working by simply re-installing AWAREIM into the same existing folder , thereby overwriting all the existing file and creating a new database connection. maybe not a good approach on a production server though.

I would still like to know Where do i increase the memory?
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Memory is increased in the startupOptions.props and you seem to have done it correctly. Noone knows, however, how much memory JBoss requires to restore its state.

A proper way to fix the problem would be to find the temporary files which JBoss uses and delete them. I just don't remember off the top of my head where they are.
Aware IM Support Team
Post Reply