Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Five Stars

Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://:1099/karaf-trun]" java.lang.RuntimeException: Could not start JMX connector server
        at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:272)
Caused by: java.io.IOException: The server has been stopped.
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:351)
        at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:259)
Error executing command: String index out of range: -1
 
Using Amazon Server

Accepted Solutions
Five Stars

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Thank you for the response,

 

I was using "start.bat" to start the karaf but then I used "trun.bat" and now the karaf is executing successfully with out any issue.

 

 

 

 


All Replies
Moderator

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Hi,

Could you please indicate on which talend ESB build version you got this issue? Did you get this issue when put kar file into deploy folder and then start runtime?

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Version is 6.4.1 i.e. latest version 

 

I put the jar(Rest Web Service) file in Runtime_ESBSE\container\deploy

And when I start the Environment with 'trun' Command It shows me this error

String index out of range: -1

Already Tried 'start.bat clean' command to reset the environment but didn't work 

 

Moderator

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Hello,

It looks like container installation exception.

Are you installing your runtime server on Amazon server?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Yes , I am installing it on amazon server 

And when i run using trun command, I get this error

Moderator

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Hello,

So far, amazon server is not list on supported compatible platforms.

Please have a look at this on line document about:TalendHelpCenter: Software requirements

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Hi All,

 

I face the same error while staring the Karaf in Windows.

 

Please share the resolution to solve it.

 

"Exception in thread "JMX Connector Thread [service:jmx:rmi://0.0.0.0:44444/jndi/rmi://:1099/karaf-trun]" java.lang.RuntimeException: Could not start JMX connect or server
at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:282)
Caused by: java.io.IOException: The server has been stopped.
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:351)
at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:269)"

Moderator

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Hello,

Are you starting two container without changing the ports on the same machine?

Could you double check/confirm here that you 100% sure have only one instance of the Talend_Runtime or Talend ESB / Container started on you machine?

On which talend ESB product build version you got this issue? Open source or subscription solution?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Try this 
1. Unhide all the hidden files.
2. Suppose if you have installed Talend ESB folder in "D:/xyz/Talend ESB" then check is there any folder in "D:/xyz" with the name of ".setting" if yes delete that folder else check the same folder in "Windows  Document" folder.

NOTE: Before deleting the folder do take a backup 

3. Restart the talend.

 

 

Do let me know if this worked or not.

Five Stars

Re: Talend ESB Runtime Environment Start Issue in Karaf ( String index out of range: -1 )

Thank you for the response,

 

I was using "start.bat" to start the karaf but then I used "trun.bat" and now the karaf is executing successfully with out any issue.