Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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.

 

 

 

 

View solution in original post

9 Replies
Anonymous
Not applicable
Author

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

 

Anonymous
Not applicable
Author

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 

 

Anonymous
Not applicable
Author

Hello,

It looks like container installation exception.

Are you installing your runtime server on Amazon server?

Best regards

Sabrina

Anonymous
Not applicable
Author

Yes , I am installing it on amazon server 

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

Anonymous
Not applicable
Author

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

 

Anonymous
Not applicable
Author

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)"

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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.

Anonymous
Not applicable
Author

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.