Page 2 of 2

Re: String index out of range

PostPosted:Sat Dec 11, 2010 5:41 pm
by jllort
You can found in the trunk http://openkm.svn.sourceforge.net/viewvc/openkm/trunk/ ( might be we must copy in branch too, but actually there's no difference between 5.0 and 5.1 versions )

Re: String index out of range

PostPosted:Wed Dec 15, 2010 10:14 pm
by roycal93
Thanks for the previous help sr.

I have tested your solution OpenKMWordAddIn but when I compile it I got two errors of missed references, "AddinExpress.MSO.2005" y "MSOpenKMCore". I tried to find the dll's but got now results. Do you have any idea of what is going on?

Best regards and thanks for all your help.

RC.

Re: String index out of range

PostPosted:Thu Dec 16, 2010 7:31 am
by jllort
Please make other post for it. If you want to make on spanish go to spanish section.

Re: String index out of range

PostPosted:Tue Dec 21, 2010 8:57 pm
by roycal93
Sorry for the inconvenience.

This is it:

I have tested your solution OpenKMWordAddIn but when I compile it I got two errors of missed references, "AddinExpress.MSO.2005" y "MSOpenKMCore". I tried to find the dll's but got now results. Do you have any idea of what is going on?

Best regards and thanks for all your help.

RC.

Re: String index out of range

PostPosted:Wed Dec 22, 2010 7:33 am
by jllort
You can not compile, because it uses a Add In Spress library ( payment plugin for visual studio 2008 ), but the idea was you use only de webservices classes under folder ws or taking a look at source code. Obviusly you can not compile the source code as is. Initially we trying not using any external - payment - dependence, but the windows addin installer it's really bad and we've got a lot of problems depending the office version, so , etc... reason why we decided buying that plugin for visual studio ( really runs very well, really runs, I can not say the same about visual studio addin installer ).

Re: String index out of range

PostPosted:Fri Dec 24, 2010 12:49 am
by roycal93
Thanks a lot for your help.

I really appreciate your patience and messages.

Best regards,

RC.

Re: String index out of range

PostPosted:Thu Dec 30, 2010 11:22 pm
by shirkavand
Hi there,

Ok finally, the prblem was the path i used to create a document, i was using somehting like ""C:\\Documents and Settings\\blabalba""
but it must be "/okm:root/bablalabla" because of this i was getting this weird string thing error.

Cheers

Re: String index out of range

PostPosted:Sun Jan 02, 2011 10:27 am
by jllort
OK, that was really strange error. The problem is that "String index out of range" it's not good message error to understanding you're setting bad openkm path. We're happy finally you've solved it.

Re: String index out of range

PostPosted:Mon Jan 03, 2011 4:39 pm
by roycal93
Yes, thanks a lot for your help.

Re: String index out of range

PostPosted:Thu Jan 06, 2011 2:12 am
by simy202
shirkavand wrote:HI there,

I have downloaded "OpenKM-4.1_JBoss-4.2.3.GA" from "http://sourceforge.net/projects/openkm/files/". For running the app i just go to "Bin" folder and clicked "run.bat" it shows 2 errors during the startup of the app, not suer how critical are these error, because finally i always can login to the app, i'll post you the errors, so youy can give some advice:

The first one:
Code: Select all
09:02:04,242 WARN  [ServiceController] Problem starting service jboss:service=W
bService
java.lang.Exception: Port 8083 already in use.
        at org.jboss.web.WebServer.start(WebServer.java:233)
        at org.jboss.web.WebService.startService(WebService.java:322)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanupport.java:289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMeanSupport.java:245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcer.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvokerjava:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControler.java:978)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:417)
        at org.jboss.system.ServiceController.start(ServiceController.java:435)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpljava:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcer.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvokerjava:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpljava:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcer.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercepor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvokerjava:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.jboss.web.WebServer.start(WebServer.java:226)
        ... 50 more
then i got this second one too:
Code: Select all
09:11:22,232 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=WebService
  State: FAILED
  Reason: java.lang.Exception: Port 8083 already in use.
  I Depend On:
    jboss.system:service=ThreadPool
  Depends On Me:
    jboss.ejb:service=EJBDeployer

ObjectName: jboss.ejb3:service=EJB3Deployer
  State: CONFIGURED
  I Depend On:
    jboss.aop:service=AspectDeployer
    jboss.ejb:service=EJBDeployer
    jboss.ejb3:service=JarsIgnoredForScanning
  Depends On Me:
    jboss.ws:service=DeployerInterceptorEJB3

ObjectName: jboss.ejb:service=EJBDeployer
  State: CONFIGURED
  I Depend On:
    jboss:service=TransactionManager
    jboss:service=WebService
  Depends On Me:
    jboss.ejb3:service=EJB3Deployer
    jboss.ws:service=DeployerInterceptorEJB21

ObjectName: jboss.ws:service=DeployerInterceptorEJB21
  State: CONFIGURED
  I Depend On:
    jboss.ejb:service=EJBDeployer

ObjectName: jboss.ws:service=DeployerInterceptorEJB3
  State: CONFIGURED
  I Depend On:
    jboss.ejb3:service=EJB3Deployer

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=WebService
  State: FAILED
  Reason: java.lang.Exception: Port 8083 already in use.
  I Depend On:
    jboss.system:service=ThreadPool
  Depends On Me:
    jboss.ejb:service=EJBDeployer


09:11:22,403 ERROR [Server] Root deployment has missing dependencies; continuing

Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=WebService
  State: FAILED
  Reason: java.lang.Exception: Port 8083 already in use.
  I Depend On:
    jboss.system:service=ThreadPool
  Depends On Me:
    jboss.ejb:service=EJBDeployer

ObjectName: jboss.ejb3:service=EJB3Deployer
  State: CONFIGURED
  I Depend On:
    jboss.aop:service=AspectDeployer
    jboss.ejb:service=EJBDeployer
    jboss.ejb3:service=JarsIgnoredForScanning
  Depends On Me:
    jboss.ws:service=DeployerInterceptorEJB3

ObjectName: jboss.ejb:service=EJBDeployer
  State: CONFIGURED
  I Depend On:
    jboss:service=TransactionManager
    jboss:service=WebService
  Depends On Me:
    jboss.ejb3:service=EJB3Deployer
    jboss.ws:service=DeployerInterceptorEJB21

ObjectName: jboss.ws:service=DeployerInterceptorEJB21
  State: CONFIGURED
  I Depend On:
    jboss.ejb:service=EJBDeployer

ObjectName: jboss.ws:service=DeployerInterceptorEJB3
  State: CONFIGURED
  I Depend On:
    jboss.ejb3:service=EJB3Deployer

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=WebService
  State: FAILED
  Reason: java.lang.Exception: Port 8083 already in use.
  I Depend On:
    jboss.system:service=ThreadPool
  Depends On Me:
    jboss.ejb:service=EJBDeployer


        at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1385)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:619)
After that, i just go to "http://localhost:8080/OpenKM/es.git.ope ... /index.jsp" and login to OPenKM just fine. Any idea?

Cheers

I encountered the same problem with your. I just follow the steps jllort provided here. but I am still failed to solve the problem!

Re: String index out of range

PostPosted:Thu Jan 06, 2011 2:43 pm
by jllort
Seems you've got problem with some port in that sever
Code: Select all
java.lang.Exception: Port 8083 already in use.
Other application is using that port, close it first.

Re: String index out of range

PostPosted:Fri Feb 18, 2011 9:22 pm
by roycal93
@simy202 where you able to start the application?

Here is another post where you can check how to change the default port.

http://forum.openkm.com/viewtopic.php?f=3&t=2724

Cheers,
RC.