cancel
Showing results for 
Search instead for 
Did you mean: 

VMS Server doesn't start (configuration?)

Former Member
0 Kudos

<P STYLE="margin-bottom: 0in">Mobile Server XI 3.1 SP3</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">my VMS server doesn't start with these

errors:</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">Vaultus Mobile Platform</P>

<P STYLE="margin-bottom: 0in">Version: 6.0.0</P>

<P STYLE="margin-bottom: 0in">Build Number: 1029</P>

<P STYLE="margin-bottom: 0in">Created Nov 06, 2008</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:15 VMS_SERVER.VMP_SYS

&lt;WARN &gt; Use of Thread.stop() enabled via MAX_INTERRUPT_WAIT.

This can improve server responsiveness but may decrease server

stability.</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:15

VMS_SERVER.VMP_MOBI_JOB_SERVER &lt;WARN &gt; onStart()</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:17 stdout &lt;INFO

&gt;

</P>

<P STYLE="margin-bottom: 0in">----


</P>

<P STYLE="margin-bottom: 0in">GMS: address is 10.3.2.182:11688</P>

<P STYLE="margin-bottom: 0in">----


</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20

org.jgroups.blocks.ConnectionTable &lt;ERROR &gt; exception is

java.net.SocketException: Unrecognized Windows Sockets error: 0:

JVM_Bind</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20

VMS_SERVER.VMP_CLUSTER.VMS_CLUSTER_SAP-SVR &lt;ERROR &gt; Cannot

join cluster due to</P>

<P STYLE="margin-bottom: 0in">com.vaultus.server.core.cluster.ClusterException:

ChannelException: failed to start protocol stack; nested exception

is:

</P>

<P STYLE="margin-bottom: 0in"> org.jgroups.ChannelException: failed

to start protocol stack</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel.connect(GroupChannel.java:325)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.AppCoordinatorCluster.connect(AppCoordinatorCluster.java:162)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.AbstractCluster.start(AbstractCluster.java:207)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.LocalCluster.becomeCoordinator(LocalCluster.java:562)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.LocalCluster.onViewAccepted(LocalCluster.java:389)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel$1.viewAccepted(GroupChannel.java:173)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.rpc.AsyncDispatcher.viewAccepted(AsyncDispatcher.java:840)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel.preViewAccepted(GroupChannel.java:409)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel.access$100(GroupChannel.java:55)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel$2.viewAccepted(GroupChannel.java:220)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.JChannel.up(JChannel.java:1080)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.mux.Multiplexer$Task.run(Multiplexer.java:996)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.mux.Multiplexer$ExecuteTask.run(Multiplexer.java:1020)</P>

<P STYLE="margin-bottom: 0in"> at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)</P>

<P STYLE="margin-bottom: 0in"> at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)</P>

<P STYLE="margin-bottom: 0in"> at

java.lang.Thread.run(Thread.java:595)</P>

<P STYLE="margin-bottom: 0in">Caused by:

org.jgroups.ChannelException: failed to start protocol stack</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.JChannel.connect(JChannel.java:371)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.JChannelFactory.connect(JChannelFactory.java:349)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.mux.MuxChannel.connect(MuxChannel.java:136)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel.connect(GroupChannel.java:316)</P>

<P STYLE="margin-bottom: 0in"> ... 15 more</P>

<P STYLE="margin-bottom: 0in">Caused by:

java.lang.NullPointerException</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.blocks.ConnectionTable.start(ConnectionTable.java:180)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.blocks.ConnectionTable.&lt;init&gt;(ConnectionTable.java:84)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.protocols.TCP.getConnectionTable(TCP.java:99)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.protocols.TCP.start(TCP.java:62)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:75)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:273)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.JChannel.connect(JChannel.java:368)</P>

<P STYLE="margin-bottom: 0in"> ... 18 more</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20 VMS_SERVER.VMP_SYS

&lt;ERROR &gt; Cannot start server</P>

<P STYLE="margin-bottom: 0in">com.vaultus.common.toolkit.bl.thread.ClosedInterruptedException</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.cldc2.core.platform.thread.ClosableWaitItem.checkNotClosed(ClosableWaitItem.java:41)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.cldc2.core.platform.thread.BooleanCondition.waitUntil(BooleanCondition.java:80)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel.connect(GroupChannel.java:319)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.LocalCluster.connect(LocalCluster.java:263)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.AbstractCluster.start(AbstractCluster.java:207)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.GenericServer.startClustering(GenericServer.java:1679)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.GenericServer.start(GenericServer.java:800)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.GenericServer.runUntilShutdown(GenericServer.java:829)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.GenericServer.main(GenericServer.java:1405)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.AppRun.main(AppRun.java:29)</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20

org.jgroups.blocks.ConnectionTable &lt;WARN &gt; exception is

java.net.SocketException: socket closed</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20

VMS_SERVER.VMP_MOBI_JOB_SERVER &lt;WARN &gt; onStop()</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20 VMS_SERVER.VMP_SYS

&lt;ERROR &gt; Failed to accept console controller session</P>

<P STYLE="margin-bottom: 0in">java.net.SocketException: socket closed</P>

<P STYLE="margin-bottom: 0in"> at

java.net.PlainSocketImpl.socketAccept(Native Method)</P>

<P STYLE="margin-bottom: 0in"> at

java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)</P>

<P STYLE="margin-bottom: 0in"> at

java.net.ServerSocket.implAccept(ServerSocket.java:450)</P>

<P STYLE="margin-bottom: 0in"> at

java.net.ServerSocket.accept(ServerSocket.java:421)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.GenericServer$ConsoleController.run(GenericServer.java:249)</P>

<P STYLE="margin-bottom: 0in">2011.03.07 15:24:20 org.jgroups &lt;ERROR

&gt; uncaught exception in

Thread[Multiplexer-2,5,MultiplexerThreads] (thread

group=org.jgroups.util.Util$1[name=JGroups,maxpri=10] )</P>

<P STYLE="margin-bottom: 0in">java.lang.NullPointerException</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel.isPrintable(GroupChannel.java:289)</P>

<P STYLE="margin-bottom: 0in"> at

com.vaultus.server.core.cluster.GroupChannel$2.viewAccepted(GroupChannel.java:227)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.JChannel.up(JChannel.java:1080)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.mux.Multiplexer$Task.run(Multiplexer.java:996)</P>

<P STYLE="margin-bottom: 0in"> at

org.jgroups.mux.Multiplexer$ExecuteTask.run(Multiplexer.java:1020)</P>

<P STYLE="margin-bottom: 0in"> at

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)</P>

<P STYLE="margin-bottom: 0in"> at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)</P>

<P STYLE="margin-bottom: 0in"> at

java.lang.Thread.run(Thread.java:595)</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">the VAS is running!</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">//////////////////////////////////////////////////////////////////////////////////////////////////////////////////</P>

<P STYLE="margin-bottom: 0in">server.config</P>

<P STYLE="margin-bottom: 0in">//////////////////////////////////////////////////////////////////////////////////////////////////////////////////</P>

<P STYLE="margin-bottom: 0in"># $Id: cluster.config 28107 2007-11-01

03:35:53Z hmak $</P>

<P STYLE="margin-bottom: 0in">#</P>

<P STYLE="margin-bottom: 0in"># config for VMS Server cluster</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">VERSION = 6.0</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[jobs]</P>

<P STYLE="margin-bottom: 0in">SERVER_JOBS_LIST = VMSJob</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[jobs $ VMSJob]</P>

<P STYLE="margin-bottom: 0in">SERVER_JOB =

com.businessobjects.mobilebi.server.connector.MobiJobServer</P>

<P STYLE="margin-bottom: 0in">SUPPORTED_SERVICES = SampleApplication</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[cluster $ local]</P>

<P STYLE="margin-bottom: 0in">CLUSTER_ID = VMS_CLUSTER_SAP-SVR</P>

<P STYLE="margin-bottom: 0in">CLUSTER_CONFIG = config/stacks.xml</P>

<P STYLE="margin-bottom: 0in">STACK_ID = tcp</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># Set following only if proxying via

Netscaler</P>

<P STYLE="margin-bottom: 0in"># EXTERNAL_HOSTNAME =

@VVV_PROXY_HOSTNAME@</P>

<P STYLE="margin-bottom: 0in"># EXTERNAL_PORT = @VVV_PROXY_PORT@</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[realsync]</P>

<P STYLE="margin-bottom: 0in">DOCUMENT_LIST = SampleApplication.1.0.0</P>

<P STYLE="margin-bottom: 0in">MAX_FDR = 100</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[realsync $ SampleApplication.1.0.0]</P>

<P STYLE="margin-bottom: 0in">DOCUMENT =

com.vaultus.vmsserver.toolkit.bl.sync.PostProcessIDDataConnector</P>

<P STYLE="margin-bottom: 0in">VDSC_CONFIG =

config/SampleApplication.1.0.0.xml</P>

<P STYLE="margin-bottom: 0in">AUTO_CONFLICT_RESOLUTION = MERGE</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># [vdsc]</P>

<P STYLE="margin-bottom: 0in"># TRACING_ENABLE = false</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[database_pool]</P>

<P STYLE="margin-bottom: 0in">DB_DRIVER

=org.apache.derby.jdbc.EmbeddedDriver</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">POOLS = REALSYNC</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[database_pool $ REALSYNC]</P>

<P STYLE="margin-bottom: 0in">URL =jdbc:derby:vms.db</P>

<P STYLE="margin-bottom: 0in">LOGIN =</P>

<P STYLE="margin-bottom: 0in">PASSWORD =</P>

<P STYLE="margin-bottom: 0in">MAXCON = 100</P>

<P STYLE="margin-bottom: 0in">INITCAPACITY = 5</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[thread_pool]</P>

<P STYLE="margin-bottom: 0in">POOL_SIZE = 200</P>

<P STYLE="margin-bottom: 0in">MAX_INTERRUPT_WAIT = 20</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># common across all servers</P>

<P STYLE="margin-bottom: 0in">INCLUDE_CONFIG_FILE =

../common/config/shared.config</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># vim:noet</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">//////////////////////////////////////////////////////////////////////////////////////////////////////////////////</P>

<P STYLE="margin-bottom: 0in">cluster.config</P>

<P STYLE="margin-bottom: 0in">//////////////////////////////////////////////////////////////////////////////////////////////////////////////////</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># $Id: server.config 28982 2008-01-03

21:52:21Z hmak $</P>

<P STYLE="margin-bottom: 0in">#</P>

<P STYLE="margin-bottom: 0in"># config for VMS Server instance</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">VERSION = 6.0</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[server]</P>

<P STYLE="margin-bottom: 0in">SERVER_ID=VMS_SERVER</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">[comm]</P>

<P STYLE="margin-bottom: 0in">BINDTO_PORT=11711</P>

<P STYLE="margin-bottom: 0in">MANAGEMENT_PORT=11712</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># common across all VMS servers</P>

<P STYLE="margin-bottom: 0in">INCLUDE_CONFIG_FILE =

config/cluster.config</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"># vim:noet</P>

<P STYLE="margin-bottom: 0in">[comm $ external]</P>

<P STYLE="margin-bottom: 0in">ENABLED=default</P>

<P STYLE="margin-bottom: 0in">EXTERNAL_HOSTNAME=MILBOEA0T</P>

<P STYLE="margin-bottom: 0in">[comm $ external $ default]</P>

<P STYLE="margin-bottom: 0in">EXTERNAL_HOSTNAME=MILBOEA0T</P>

<P STYLE="margin-bottom: 0in">EXTERNAL_PORT=11711</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">CLIENT_TYPE=any</P>

<P STYLE="margin-bottom: 0in">CLIENT_HOSTNAME=0.0.0.0</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">do you have any idea?</P>

<P STYLE="margin-bottom: 0in"><BR>

</P>

<P STYLE="margin-bottom: 0in">thanks a lot in advance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=white>roland[at]jentsch[dot]it</font> </P>

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_hvisc
Explorer
0 Kudos

Hello Luca,

did you already solved this issue ragarding the Mobile VMS job server startup?

I am asking because I had the similar issue but already found the root cause.

I am using MS SQL 2008 database so in my case syntax of VMS server.config file looks little different as in your case because from my understanding you are using Apache Derby database.

Root cause in my case was that BO Mobile installation comes with different sqljdbc.jar driver which is located in : Mobile 12servercommonlib

As you can find there are also database dirvers for other databases (also for Apache Derby)

I downloaded Microsoft SQL Server JDBC Driver 3.0 i.e. from http://www.microsoft.com/download/en/details.aspx?id=21599 After download I extracted downloaded file sqljdbc_3.0.1301.101_enu.exe to folder sqljdbc_3.0.1301.101_enu and in path sqljdbc_3.0.1301.101_enusqljdbc_3.0enu I found two .jar files: sqljdbc.jar and sqljdbc4.jar.

You can find description of this files i.e. here: http://msdn.microsoft.com/en-us/library/ms378422.aspx

Note: First of all under services I stopped VAS authentication server service.

Then I used sqljdbc4.jar renamed it to sqljdbc.jar copy and overwrite the original sqljdbc.jar under path Mobile 12servercommonlib which comes with BO Mobile installation.

After all these steps I am able to start VMS job server successfully.

Next think I found in your post is that when I checked the official SAP BusinessObjects Mobile Installation and Deployment Guide documment I found that you used different syntax when you specified DB_DRIVER parameter value in server.config file.

You used:

[database_pool]

DB_DRIVER =org.apache.derby.jdbc.EmbeddedDriver

but in guide I found that it should be as following:

[database_pool]

org.apache.derby.jdbc.ClientDriver

another difference I found that you used different syntax when you specified URL parameter value for your database platform in server.config file:

- you used:

[database_pool $ REALSYNC]

URL =jdbc:derby:vms.db

- but in guide I found that it should be as following:

[database_pool $ REALSYNC]

URL =jdbc:derby:auth.db

Please check my comments and let me know if something was helpful for you.

My Colleague Eric Sabol also suggested me his solution with different issues which he troubleshoot after the installation of SAP BO Mobile XI 3.1 SP3. You can find his thread here:

Take care.

Regards,

Peter