• String index out of range

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7547  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.
Last edited by roycal93 on Tue Dec 21, 2010 8:51 pm, edited 1 time in total.
 #7560  by jllort
 
Please make other post for it. If you want to make on spanish go to spanish section.
 #7663  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.
 #7673  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 ).
 #7734  by roycal93
 
Thanks a lot for your help.

I really appreciate your patience and messages.

Best regards,

RC.
 #7782  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
 #7802  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.
 #7861  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!
 #7873  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.