WSAdmin Error Creating SOAP Connection - web-services

When I run the following command it fails with the error at the end.
wsadmin.bat -wsadmin_classpath D:\MediaRepository\Install_Driver\Lib;D:\MediaRepository\Install_Driver\Lib\PasswordEncryption.jar \
-javaoption -Xms1024m -javaoption -Xmx1024m -host 165.226.111.111 -port 18120 \
-user XXX -password XXX
WASX7023E: Error creating "SOAP" connection to host "165.226.165.136"; exception information: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to find a valid IP for host 165.226.111.111]
WASX7213I: This scripting client is not connected to a server process; please refer to the log file D:\WAS\V70\AppServer\profiles\logs\wsadmin.traceout for additional information.
WASX8011W: AdminTask object is not available.
WSADMIN.TRACEOUT
************ Start Display Current Environment ************
Host Operating System is Windows Server 2008 R2, version 6.1 build 7601 Service Pack 1
Java version = JRE 1.6.0 IBM J9 2.4 Windows Server 2008 R2 amd64-64 jvmwa6460sr15-20131016_170922 (JIT enabled, AOT enabled)
J9VM - 20131016_170922
JIT - r9_20130920_46510ifx2
GC - GA24_Java6_SR15_20131016_1337_B170922, Java Compiler = j9jit24, Java VM name = IBM J9 VM
was.install.root = D:\WAS\V70\AppServer
user.install.root = D:\WAS\V70\AppServer\profiles\SF_N9SF_LTST
Java Home = D:\WAS\V70\AppServer\java\jre
ws.ext.dirs = D:\\WAS\\V70\\AppServer\\java\\lib;D:\\WAS\\V70\\AppServer\\classes;D:\\WAS\\V70\\AppServer\\lib;D:\\WAS\\V70\\AppServer\\installedChannels;D:\\WAS\\V70\\AppServer\\lib\\ext;D:\\WAS\\V70\\AppServer\\web\\help;D:\\WAS\\V70\\AppServer\\deploytool\\itp\\plugins\\com.ibm.etools.ejbdeploy\\runtime
Classpath = D:\WAS\V70\AppServer\profiles\properties;D:\WAS\V70\AppServer\properties;D:\WAS\V70\AppServer\lib\startup.jar;D:\WAS\V70\AppServer\lib\bootstrap.jar;D:\WAS\V70\AppServer/lib/lmproxy.jar;D:\WAS\V70\AppServer/lib/urlprotocols.jar;D:\WAS\V70\AppServer\java\lib\tools.jar;D:\WAS\V70\AppServer\deploytool\itp\batchboot.jar;D:\WAS\V70\AppServer\deploytool\itp\batch2.jar
Java Library path = D:\WAS\V70\AppServer\java\jre\bin\default;D:\WAS\V70\AppServer\java\jre\bin;C:\Windows\system32;C:\Windows;D:\Program Files\Siemens\GsmActive\DLL;C:\CA\SC\CAWIN\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\CA\SC\Csam\SockAdapter\bin;C:\CA\DSM\bin;C:\CA\SC\CBB\;C:\CA\SC\CAM\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Groovy\Groovy-2.2.2\bin;C:\Program Files\Microsoft Network Monitor 3\;.
Current trace specification = *=info
************* End Display Current Environment *************
[9/29/14 18:00:53:512 EDT] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info.
[9/29/14 18:00:53:784 EDT] 00000000 AbstractShell A WASX7326I: Loaded properties file "/D:/WAS/V70/AppServer/profiles/properties/wsadmin.properties"
[9/29/14 18:00:53:926 EDT] 00000000 SSLConfig W CWPKI0041W: One or more key stores are using the default password.
[9/29/14 18:00:53:933 EDT] 00000000 SSLConfigMana I CWPKI0027I: Disabling default hostname verification for HTTPS URL connections.
[9/29/14 18:00:53:940 EDT] 00000000 SecurityObjec I Client code attempting to load security configuration
[9/29/14 21:40:56:313 EDT] 00000000 AbstractShell A WASX7093I: Issuing message: "WASX7023E: Error creating "SOAP" connection to host "XXX"; exception information: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: Read timed out; targetException=java.lang.IllegalArgumentException: Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: Read timed out]"
[9/29/14 21:40:56:316 EDT] 00000000 AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.websphere.management.exception.ConnectorException
java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException
" follows:
com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host XXX at port 10004.
at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:635)
at com.ibm.websphere.management.AdminClientFactory.access$000(AdminClientFactory.java:127)
at com.ibm.websphere.management.AdminClientFactory$1.run(AdminClientFactory.java:210)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:206)
at com.ibm.ws.scripting.CommonScriptingObject.connectToAdminService(CommonScriptingObject.java:123)
at com.ibm.ws.scripting.CommonScriptingObject.<init>(CommonScriptingObject.java:104)
at com.ibm.ws.scripting.AdminControlClient.<init>(AdminControlClient.java:170)
at com.ibm.ws.scripting.AbstractShell.createControlClient(AbstractShell.java:1268)
at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:2212)
at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1010)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:981)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:341)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:111)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:457)
... 31 more
Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: Read timed out; targetException=java.lang.IllegalArgumentException: Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: Read timed out]
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:415)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:227)
... 36 more
Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: Read timed out; targetException=java.lang.IllegalArgumentException: Error opening socket: java.io.IOException: Exception during sslSocket.startHandshake: Read timed out]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:475)
at org.apache.soap.rpc.Call.WASinvoke(Call.java:487)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:387)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:372)
... 37 more
[9/29/14 21:40:56:317 EDT] 00000000 AdminControlC W WASX7072E: The control service is not available.
[9/29/14 21:40:56:336 EDT] 00000000 AdminConfigCl W WASX7198W: The configuration service is not running. Configuration commands will not run.
[9/29/14 21:40:56:353 EDT] 00000000 AdminConfigCl A WASX7208I: Validation settings in effect now: Level=HIGHEST, Cross-validation=true, Output file=D:/WAS/V70/AppServer/profiles/logs/wsadmin.valout
[9/29/14 21:40:56:371 EDT] 00000000 AdminAppClien W WASX7072E: The control service is not available.
[9/29/14 21:40:56:766 EDT] 00000000 AdminAppClien W WASX7206W: The application management service is not running. Application management commands will not run.
[9/29/14 21:40:56:768 EDT] 00000000 AdminCmdClien W WASX7198W: The configuration service is not running. Configuration commands will not run.
[9/29/14 21:40:56:768 EDT] 00000000 AdminCmdClien W WASX8011W: AdminTask object is not available.

If you login to WebSphere console, and navigate to Servers > Server Types > WebSphere application servers, you should see that your Host Name is not localhost:
You have at least three options for resolving this issue...
Option 1
Start wsadmin using the host and port params:
wsadmin.bat -lang jython -username [username] -password [password] -host [hostname shown in image 1] -port [your WAS console port]
Note that this option might lead to the following error:
SRVE0255E: A WebGroup/Virtual Host to handle NNN.NNN.NNN.NNN:NNNN has
not been defined.
... which is beyond the scope of this answer but can be resolved with a bit of googling.
Option 2
Start wsadmin with the conntype parameter set to NONE.
wsadmin.bat -lang jython -username [username] -password [password] -conntype NONE
You may not be able to accomplish everything you need to do using wsadmin (eg. if you have to perform work against server nodes), but it will allow you to perform certain functions, like change your hostname (option 3).
Option 3
Change your host name to 127.0.0.1. Using Option 2, connect using conntype of NONE and change your server's host name. Refer to this guide http://java.boot.by/ibm-317/apas02.html for the steps on how to do that. Once you've change the host name, restart WebSphere and you should then be able to connect to wsadmin without the conntype or host/port parameters. Note that these commands have to be run directly against the server that you want to change, so make sure you start wsadmin from the right profile folder (not WebSphere\AppServer\bin):
cd c:\IBM\WebSphere\AppServer\profiles\ODMSample8810\bin\
wsadmin.bat -lang jython -username [username] -password [password] -conntype NONE
wsadmin>myserver = AdminConfig.list('ServerIndex')
wsadmin>AdminConfig.modify(myserver, "[[hostName 127.0.0.1]]")
wsadmin>AdminConfig.show(myserver, 'hostName')
wsadmin>AdminConfig.save()

Related

Selenium grid Kubernetes Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

We have selenium hub deployed on kubernetes cliuster on AWS and used ingress-traefik to expose service.
We have also have selenium chrome node registered to this selenium hub on kubernetes.
When i see the grid console page i can see the chrome node attached to this hub.
But when i trigger my automation suite through Jenkins i am getting the below error message
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'xxxxx', ip: 'x.x.x.x', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.165-103.209.amzn1.x86_64', java.version: '1.8.0_221'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:573)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
at stepDefns.SetUp.setUpBrowser(SetUp.java:145)
at stepDefns.OrderSpecTabSteps.user_sets_the_browser_to_and_version(OrderSpecTabSteps.java:25)
at ✽.Given user sets the browser to "chrome" and version "69"(/data/jenkins_home/workspace/FPSAutomation/src/test/java/features/NonRes.feature:4)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
in Logs i can see Caused by: java.net.SocketTimeoutException: connect timed out
In My java code I am using node url as below which is "HTTPS"
String nodeURL = "https://<hostname>/wd/hub";
ChromeOptions remoteOptions = new ChromeOptions();
driver=new RemoteWebDriver(new URL(nodeURL), remoteOptions);
Please let me know how to resolve this issue.
Thanks in Advance.

Elastic Beanstalk 502 error when deploying war file to Tomcat

I've deployed a Shopizer war file to a Tomcat Elastic Beanstalk instance. I've configured a mySQL database and as far as I can tell everything should be correct. the problem is that when I try to access the URL I get a 502 error. I'm aware Elastic Beanstalk times out after 60s so I increased my timeout limit but still get the problem.
I've noticed this in my Catalina.out log. I know its only a warning but could it possibly point to my issue?
2018-05-02 06:02:51.220 WARN 3233 --- [-AdminTaskTimer] c.m.v.a.ThreadPoolAsynchronousRunner : com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector#4446a77 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#55aa1343
on thread: C3P0PooledConnectionPoolManager[identityToken->1br9tjp9v8puiagh4cnwb|550ee827]-HelperThread-#2
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#326b931e
on thread: C3P0PooledConnectionPoolManager[identityToken->1br9tjp9v8puiagh4cnwb|550ee827]-HelperThread-#0
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#7fc7b7d9
on thread: C3P0PooledConnectionPoolManager[identityToken->1br9tjp9v8puiagh4cnwb|550ee827]-HelperThread-#1
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#591e9ef6
Pool thread stack traces:
Thread[C3P0PooledConnectionPoolManager[identityToken->1br9tjp9v8puiagh4cnwb|550ee827]-HelperThread-#2,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
java.net.Socket.connect(Socket.java:589)
com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:1619)
com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1601)
com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:633)
com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:347)
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:219)
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Thread[C3P0PooledConnectionPoolManager[identityToken->1br9tjp9v8puiagh4cnwb|550ee827]-HelperThread-#0,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
java.net.Socket.connect(Socket.java:589)
com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:1619)
com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1601)
com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:633)
com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:347)
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:219)
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Thread[C3P0PooledConnectionPoolManager[identityToken->1br9tjp9v8puiagh4cnwb|550ee827]-HelperThread-#1,5,main]
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
java.net.Socket.connect(Socket.java:589)
com.mysql.cj.core.io.StandardSocketFactory.connect(StandardSocketFactory.java:202)
com.mysql.cj.mysqla.io.MysqlaSocketConnection.connect(MysqlaSocketConnection.java:57)
com.mysql.cj.mysqla.MysqlaSession.connect(MysqlaSession.java:122)
com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:1619)
com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:1601)
com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:633)
com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:347)
com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:219)
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
2018-05-02 06:03:51.222 WARN 3233 --- [-AdminTaskTimer] c.m.v.a.ThreadPoolAsynchronousRunner : Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#55aa1343 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
2018-05-02 06:03:51.222 WARN 3233 --- [-AdminTaskTimer] c.m.v.a.ThreadPoolAsynchronousRunner : Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#326b931e (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
2018-05-02 06:03:51.222 WARN 3233 --- [-AdminTaskTimer] c.m.v.a.ThreadPoolAsynchronousRunner : Task com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask#7fc7b7d9 (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt().
I messed about with quite a few steps and haven't looked through what helped and what didn't. If I get a chance to go through that and give more specific help I will but for now, heres what I did.
In sm-shop/src/main/resources/application.properties add:
server.port = 5000
Start with creating a database. You'll need the details for the database.properties file. I created a mySQL Aurora DB.
Add the database properties to sm-shop/src/main/resources/database.properties.
In AWS, create Elastic Beanstalk application and environment. I went with Tomcat so had to build a war file, which I deployed to the environment.
In Configuration > Software set the following:
Initial JVM heap size (Xms) = 1024m
Max JVM heap size (Xmx) = 1024m
XX:MaxPermSize = 256m
Add the following Environment Properties:
HIBERNATE_DIALECT = org.hibernate.dialect.MySQLDialect
JDBC_CONNECTION_STRING = jdbc:mysql://mydb.ptmjbhdur9pw.eu-west-2.rds.amazonaws.com:3306/SALESMANAGER?user=username&password=password&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&&driverClass=com.mysql.cj.jdbc.Driver
SERVER_PORT = 5000
In Configuration > Modify instances:
Instance type = (at least)m1.small
EC2 security groups - I ticked the database security group here.
In Configuration > Modify capacity:
Environment type = Load balanced
In Configuration > Load balancer add the following listener:
Port = 8080
Protocol = HTTP
Instance Port = 8080
Instance Protocol = HTTP
When all that was done and I started the application without any apparent AWS issues, the application wouldn't load so I checked the Catalina log. It showed the same error as in https://groups.google.com/forum/#!searchin/shopizer/ru%7Csort:date/shopizer/hQjqp_5UswI/goVKf5BTCQAJ so I made that change. The application now loads.
I hope that saves somebody some time(and grief).

Profiling Spray HTTP Application using Yourkit

I have a Spray based HTTP application running on a remote machine and I would like to profile it using Yourkit. I followed the instructions as mentioned in the Yourkit website and I ended up hitting this error:
root#remote-worker:/home/joe/yjp-2016.02/bin# sh yjp.sh -attach 19960
Attaching to process 19960 using default options
[YourKit Java Profiler 2016.02-b36] Log file: /root/.yjp/log/yjp-23609.log
com.yourkit.runtime.PresentableException: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at com.yourkit.f.a.a(a:93)
at com.yourkit.f.b.attach(a:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.yourkit.Main$5.run(a:17)
Attach to a running JVM failed.
Solution: start JVM with the profiler agent instead of attaching it to a running JVM:
https://www.yourkit.com/docs/java/help/running_with_profiler.jsp
root#remote-worker:/home/joe/yjp-2016.02/bin#
Solution is printed at the end of message: start JVM with the profiler agent instead of attaching it to a running JVM: https://www.yourkit.com/docs/java/help/running_with_profiler.jsp
Attach works only in HotSpot JVM; and running JVM process should have enough permissions. Please find details in "The attach mode limitations" at https://www.yourkit.com/docs/java/help/attach_agent.jsp

Clojure & Overtone: Jackd not launching

I'm trying to use Overtone but when I launch it, I get an error about jackd.
bambalaam#bambalaam:~/Desktop/clojuretest$ lein repl
REPL started; server listening on localhost port 59002
user=> (use 'overtone.live)
--> Loading Overtone...
--> Booting internal SuperCollider server...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
*** ERROR: dlsym load err '/home/bambalaam/Desktop/clojuretest/native/linux/x86_64/libscsynth.so: undefined symbol: load'
Found 0 LADSPA plugins
*** ERROR: open directory failed '/home/bambalaam/.local/share/SuperCollider/synthdefs'
Cannot create thread 1 Operation not permitted
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2013 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
Cannot create thread 1 Operation not permitted
Cannot create thread 1 Operation not permitted
Cannot lock down 82274202 byte memory area (Cannot allocate memory)
audio_reservation_init
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
JackTemporaryException : now quits...
Cannot initialize driver
JackServer::Open failed with -1
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Failed to open server
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f106433f0dc, pid=12155, tid=139707466204928
#
# JRE version: OpenJDK Runtime Environment (7.0_85-b01) (build 1.7.0_85-b01)
# Java VM: OpenJDK 64-Bit Server VM (24.85-b03 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.1
# Distribution: Ubuntu 14.04 LTS, package 7u85-2.6.1-5ubuntu0.14.04.1
# Problematic frame:
# C [libscsynth.so+0x220dc] SC_UdpInPort::SC_UdpInPort(World*, int)+0x9c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/bambalaam/Desktop/clojuretest/hs_err_pid12155.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
could not initialize audio.
bambalaam#bambalaam:~/Desktop/clojuretest$
It is an almost fresh install of Ubuntu 14.04 where I installed leiningen and tried to install what is suggested here: https://github.com/overtone/overtone/wiki/Installing-and-starting-jack
The jackd command they suggest to run doesn't work either and gives errors too.
This is because your jack configurations are not set right with your audio card. Try downloading QJackCtl (a GUI for jackd) and start jack before lunching Overtone. If you successfully start jack with QJackCtl then overtone should start properly. In Ubuntu you should be able to find it with apt-get install qjack*
Note that you might want to choose playback only if you're not sure how to configure line-in (ex. microphone).

Unable to install informatica in windows 8

I'm unable to instal informatica in windows 8.can any one please advice. attached the error log
error log:
Tuesday, July 29, 2014
This log was generated during Informatica 9.1.0 with HotFix 2 Services installation
Components installing are ... : server,ODBC6.1,isp,services,java,tomcat,tools,DataTransformation,jasperreports-server-4.0.1-bin
Disk Space Check Enabled : true
Enter the installation directory : F:\Informatica_install
Required Disk Space: 1,712 MB
Available Disk Space: 107,112 MB
Registry Entry
Registry Key : HKEY_LOCAL_MACHINE\SOFTWARE\Informatica 9.1.0
Value Name : ROOT_DIR
Data : F:\Informatica_install
Registry Key : HKEY_LOCAL_MACHINE\SOFTWARE\Informatica 9.1.0\Server
Value Name : ISP_HOME
Data : F:\Informatica_install\isp
Installing VS C++ 2008 RT
F:\Informatica_install\tools\VS2008\vcredist_x64.exe /q
COMMAND_EXITCODE: 1
Configuring files
F:\Informatica_install\services\MetadataManagerService\utilities\mmcmd\mmcmd.bat
F:\Informatica_install\services\MetadataManagerService\utilities\mmBackupUtil\backupCmdLine.bat
Creating Shortcuts
Installing VS C++ 2005 RT
cd /d "F:\Informatica_install\DataTransformation\bin"
vcredist_x64.exe /q:a /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn /l*v %SystemDrive%\vcredist.log"" "
COMMAND_EXITCODE: 0
Test Connection Exception -java.sql.SQLNonTransientConnectionException: [informatica][Oracle JDBC Driver]Error establishing socket to host and port: localhost:1521. Reason: Connection refused: connect
Test Connection Exception -java.sql.SQLNonTransientConnectionException: [informatica][Oracle JDBC Driver]Error establishing socket to host and port: localhost:1521. Reason: Connection refused: connect
DB TYPE : Oracle
Database user ID: : system
User password: : *
Custom JDBC Connection String : jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true
Domain name: : Domain_Sai
Node host name: : Sai
Node name: : node01_Sai
Node port number: : 6005
NODE_ADDRESS : Sai:6005
LOGS_DIRECTORY : F:\Informatica_install\isp\logs
BACKUP_DIRECTORY : F:\Informatica_install\server\infa_shared\Backup
DOMAIN_USER : Administrator
DOMAIN_PSSWD : *
NODEOPTIONS_XML : F:\Informatica_install\isp\bin\nodeoptions.xml
Free ports detected by the installer:
Service Manager port:6006
Informatica Administrator port:6007
Service Manager shutdown port:6008
Informatica Administrator shutdown port:6009
Command Executed : F:\Informatica_install\isp\bin\infasetup.bat defineDomain -du "system" -dp -dt "Oracle" -dn "Domain_Sai" -cs "jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true" -nn "node01_Sai" -na "Sai:6005" -ad "Administrator" -pd -rf "F:\Informatica_install\isp\bin\nodeoptions.xml" -sp "6006" -ap "6008" -mi "6013" -ma "6113" -sv "6007" -asp "6009" -f -ld "F:\Informatica_install\isp\logs" -bd "F:\Informatica_install\server\infa_shared\Backup" -tls "false"
Exit Code : 1
OutPut :
Error : '"F:\Informatica_install\java\jre\bin\java"' is not recognized as an internal or external command,
operable program or batch file.
Domain name: : Domain_Admin
Node host name: : Sai
Node name: : node01_Sai
Node port number: : 6005
NODE_ADDRESS : Sai:6005
LOGS_DIRECTORY : F:\Informatica_install\isp\logs
BACKUP_DIRECTORY : F:\Informatica_install\server\infa_shared\Backup
DOMAIN_USER : Administrator
DOMAIN_PSSWD : *
NODEOPTIONS_XML : F:\Informatica_install\isp\bin\nodeoptions.xml
Free ports detected by the installer:
Service Manager port:6006
Informatica Administrator port:6007
Service Manager shutdown port:6008
Informatica Administrator shutdown port:6009
Command Executed : F:\Informatica_install\isp\bin\infasetup.bat defineDomain -du "system" -dp -dt "Oracle" -dn "Domain_Admin" -cs "jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true" -nn "node01_Sai" -na "Sai:6005" -ad "Administrator" -pd -rf "F:\Informatica_install\isp\bin\nodeoptions.xml" -sp "6006" -ap "6008" -mi "6013" -ma "6113" -sv "6007" -asp "6009" -f -ld "F:\Informatica_install\isp\logs" -bd "F:\Informatica_install\server\infa_shared\Backup" -tls "false"
Exit Code : 1
OutPut :
Error : '"F:\Informatica_install\java\jre\bin\java"' is not recognized as an internal or external command,
operable program or batch file.
DB TYPE : Oracle
Database user ID: : system
User password: : *
Custom JDBC Connection String : jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true
Domain name: : Domain_Sai
Node host name: : Sai
Node name: : node01_Sai
Node port number: : 6005
NODE_ADDRESS : Sai:6005
LOGS_DIRECTORY : F:\Informatica_install\isp\logs
BACKUP_DIRECTORY : F:\Informatica_install\server\infa_shared\Backup
DOMAIN_USER : Administrator
DOMAIN_PSSWD : *
NODEOPTIONS_XML : F:\Informatica_install\isp\bin\nodeoptions.xml
Free ports detected by the installer:
Service Manager port:6006
Informatica Administrator port:6007
Service Manager shutdown port:6008
Informatica Administrator shutdown port:6009
Command Executed : F:\Informatica_install\isp\bin\infasetup.bat defineDomain -du "system" -dp -dt "Oracle" -dn "Domain_Sai" -cs "jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true" -nn "node01_Sai" -na "Sai:6005" -ad "Administrator" -pd -rf "F:\Informatica_install\isp\bin\nodeoptions.xml" -sp "6006" -ap "6008" -mi "6013" -ma "6113" -sv "6007" -asp "6009" -f -ld "F:\Informatica_install\isp\logs" -bd "F:\Informatica_install\server\infa_shared\Backup" -tls "false"
Exit Code : -1
OutPut : [ICMD_10033] Command [defineDomain] failed with error [[INFASETUP_10002] Cannot create the domain because of the following error: [RSVCSHARED_00014] Internal error. The Repository Capability ['Persistence'] failed to initialize for the following reason: '[PERSISTENCEAPI_0307] [DBPERSISTER_0014] Internal error. A test query execution caused an exception. Contact Informatica Global Customer Support. This was caused by [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES51593' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
'. Contact Informatica Global Customer Support..].
Error : Jul 29, 2014 3:18:06 PM com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl initDB
INFO: Domain Repository Service init method is called.
Jul 29, 2014 3:18:09 PM com.informatica.repository.persistence.service.impl.PersistenceManagerImpl initialize
SEVERE: Unable to initialize persistence component due to: [PERSISTENCEAPI_0307] [DBPERSISTER_0014] Internal error. A test query execution caused an exception. Contact Informatica Global Customer Support. This was caused by [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES51593' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
com.informatica.repository.persistence.PersistenceInternalException: [PERSISTENCEAPI_0307] [DBPERSISTER_0014] Internal error. A test query execution caused an exception. Contact Informatica Global Customer Support. This was caused by [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES51593' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
at com.informatica.repository.persistence.database.DatabaseHandler.detectSchemaName(DatabaseHandler.java:1098)
at com.informatica.repository.persistence.database.DatabaseHandler.getSchemaName(DatabaseHandler.java:838)
at com.informatica.repository.persistence.database.DDLGenRepositoryConfigurationManagerImpl.initializeConfiguration(DDLGenRepositoryConfigurationManager.java:310)
at com.informatica.repository.persistence.database.DDLGenRepositoryConfigurationManagerImpl.<init>(DDLGenRepositoryConfigurationManager.java:287)
at com.informatica.repository.persistence.database.DatabaseRepositoryHandler.<init>(DatabaseRepositoryHandler.java:122)
at com.informatica.repository.persistence.database.DatabasePersister.createRepositoryHandler(DatabasePersister.java:51)
at com.informatica.repository.persistence.service.impl.AbstractPersister.initialize(AbstractPersister.java:100)
at com.informatica.repository.persistence.service.impl.PersistenceManagerImpl.initialize(PersistenceManagerImpl.java:96)
at com.informatica.repository.persistence.service.impl.PersistenceManagerImpl.initialize(PersistenceManagerImpl.java:67)
at com.informatica.repository.service.capability.impl.persistence.PersistenceCapabilityManagerImpl.init(PersistenceCapabilityManagerImpl.java:125)
at com.informatica.repository.service.impl.RepositoryServiceManagerImpl.initPersistence(RepositoryServiceManagerImpl.java:1025)
at com.informatica.repository.service.impl.RepositoryServiceManagerImpl.initService(RepositoryServiceManagerImpl.java:236)
at com.informatica.repository.deployer.embedded.EmbeddedRepositoryConnectionFactory.initializeRepositorySvc(EmbeddedRepositoryConnectionFactory.java:513)
at com.informatica.repository.deployer.embedded.EmbeddedRepositoryConnectionFactory.connect(EmbeddedRepositoryConnectionFactory.java:182)
at com.informatica.project.repository.deployer.common.SetupEmbeddedJRS.getEmbeddedJRSInstance(SetupEmbeddedJRS.java:94)
at com.informatica.project.repository.deployer.embedded.EmbeddedConnectionFactory.initializeProjectRepoSvc(EmbeddedConnectionFactory.java:458)
at com.informatica.project.repository.deployer.embedded.EmbeddedConnectionFactory.connect(EmbeddedConnectionFactory.java:162)
at com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl.initImpl(PRSDomainRepositoryServiceImpl.java:226)
at com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl.initDB(PRSDomainRepositoryServiceImpl.java:639)
at com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl.init(PRSDomainRepositoryServiceImpl.java:536)
at com.informatica.isp.infasetup.impl.ConfigDomainPluginImpl.defineDomain(ConfigDomainPluginImpl.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.informatica.pcsf.cmdframework.PluginCommand.run(PluginCommand.java:46)
at com.informatica.pcsf.cmdframework.Infasetup.execute(Infasetup.java:190)
at com.informatica.pcsf.cmdframework.Infasetup.main(Infasetup.java:85)
Caused by: com.informatica.repository.persistence.PersistenceInitializationException: [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES51593' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
at com.informatica.repository.persistence.database.oracle.OracleHandler.createView(OracleHandler.java:599)
at com.informatica.repository.persistence.database.DatabaseHandler.detectSchemaName(DatabaseHandler.java:1084)
... 27 more
Caused by: com.informatica.repository.persistence.ExceptionSurrogate: java.sql.SQLException: [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
at com.informatica.jdbc.oraclebase.ddb9.b(Unknown Source)
at com.informatica.jdbc.oraclebase.ddb9.a(Unknown Source)
at com.informatica.jdbc.oraclebase.ddb8.b(Unknown Source)
at com.informatica.jdbc.oraclebase.ddb8.a(Unknown Source)
at com.informatica.jdbc.oracle.ddm.q(Unknown Source)
at com.informatica.jdbc.oraclebase.ddel.v(Unknown Source)
at com.informatica.jdbc.oraclebase.ddel.x(Unknown Source)
at com.informatica.jdbc.oraclebase.ddel.executeUpdate(Unknown Source)
at com.informatica.repository.persistence.database.oracle.OracleHandler.createView(OracleHandler.java:597)
... 28 more
Test Connection Exception -java.sql.SQLException: [informatica][Oracle JDBC Driver][Oracle]ORA-01045: user SAI lacks CREATE SESSION privilege; logon denied
Test Connection Exception -java.sql.SQLException: [informatica][Oracle JDBC Driver][Oracle]ORA-01045: user SAI lacks CREATE SESSION privilege; logon denied
Test Connection Exception -java.sql.SQLException: [informatica][Oracle JDBC Driver][Oracle]ORA-01045: user SAI lacks CREATE SESSION privilege; logon denied
Test Connection Exception -java.sql.SQLInvalidAuthorizationSpecException: [informatica][Oracle JDBC Driver][Oracle]ORA-01017: invalid username/password; logon denied
DB TYPE : Oracle
Database user ID: : system
User password: : *
Custom JDBC Connection String : jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true
Domain name: : Domain_Sai
Node host name: : Sai
Node name: : node01_Sai
Node port number: : 6005
NODE_ADDRESS : Sai:6005
LOGS_DIRECTORY : F:\Informatica_install\isp\logs
BACKUP_DIRECTORY : F:\Informatica_install\server\infa_shared\Backup
DOMAIN_USER : Administrator
DOMAIN_PSSWD : *
NODEOPTIONS_XML : F:\Informatica_install\isp\bin\nodeoptions.xml
Free ports detected by the installer:
Service Manager port:6006
Informatica Administrator port:6007
Service Manager shutdown port:6008
Informatica Administrator shutdown port:6009
Command Executed : F:\Informatica_install\isp\bin\infasetup.bat defineDomain -du "system" -dp -dt "Oracle" -dn "Domain_Sai" -cs "jdbc:informatica:oracle://localhost:1521;ServiceName=orcl;MaxPooledStatements=20;CatalogOptions=0;BatchPerformanceWorkaround=true" -nn "node01_Sai" -na "Sai:6005" -ad "Administrator" -pd -rf "F:\Informatica_install\isp\bin\nodeoptions.xml" -sp "6006" -ap "6008" -mi "6013" -ma "6113" -sv "6007" -asp "6009" -f -ld "F:\Informatica_install\isp\logs" -bd "F:\Informatica_install\server\infa_shared\Backup" -tls "false"
Exit Code : -1
OutPut : [ICMD_10033] Command [defineDomain] failed with error [[INFASETUP_10002] Cannot create the domain because of the following error: [RSVCSHARED_00014] Internal error. The Repository Capability ['Persistence'] failed to initialize for the following reason: '[PERSISTENCEAPI_0307] [DBPERSISTER_0014] Internal error. A test query execution caused an exception. Contact Informatica Global Customer Support. This was caused by [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES33840' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
'. Contact Informatica Global Customer Support..].
Error : Jul 29, 2014 3:20:18 PM com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl initDB
INFO: Domain Repository Service init method is called.
Jul 29, 2014 3:20:19 PM com.informatica.repository.persistence.service.impl.PersistenceManagerImpl initialize
SEVERE: Unable to initialize persistence component due to: [PERSISTENCEAPI_0307] [DBPERSISTER_0014] Internal error. A test query execution caused an exception. Contact Informatica Global Customer Support. This was caused by [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES33840' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
com.informatica.repository.persistence.PersistenceInternalException: [PERSISTENCEAPI_0307] [DBPERSISTER_0014] Internal error. A test query execution caused an exception. Contact Informatica Global Customer Support. This was caused by [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES33840' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
at com.informatica.repository.persistence.database.DatabaseHandler.detectSchemaName(DatabaseHandler.java:1098)
at com.informatica.repository.persistence.database.DatabaseHandler.getSchemaName(DatabaseHandler.java:838)
at com.informatica.repository.persistence.database.DDLGenRepositoryConfigurationManagerImpl.initializeConfiguration(DDLGenRepositoryConfigurationManager.java:310)
at com.informatica.repository.persistence.database.DDLGenRepositoryConfigurationManagerImpl.<init>(DDLGenRepositoryConfigurationManager.java:287)
at com.informatica.repository.persistence.database.DatabaseRepositoryHandler.<init>(DatabaseRepositoryHandler.java:122)
at com.informatica.repository.persistence.database.DatabasePersister.createRepositoryHandler(DatabasePersister.java:51)
at com.informatica.repository.persistence.service.impl.AbstractPersister.initialize(AbstractPersister.java:100)
at com.informatica.repository.persistence.service.impl.PersistenceManagerImpl.initialize(PersistenceManagerImpl.java:96)
at com.informatica.repository.persistence.service.impl.PersistenceManagerImpl.initialize(PersistenceManagerImpl.java:67)
at com.informatica.repository.service.capability.impl.persistence.PersistenceCapabilityManagerImpl.init(PersistenceCapabilityManagerImpl.java:125)
at com.informatica.repository.service.impl.RepositoryServiceManagerImpl.initPersistence(RepositoryServiceManagerImpl.java:1025)
at com.informatica.repository.service.impl.RepositoryServiceManagerImpl.initService(RepositoryServiceManagerImpl.java:236)
at com.informatica.repository.deployer.embedded.EmbeddedRepositoryConnectionFactory.initializeRepositorySvc(EmbeddedRepositoryConnectionFactory.java:513)
at com.informatica.repository.deployer.embedded.EmbeddedRepositoryConnectionFactory.connect(EmbeddedRepositoryConnectionFactory.java:182)
at com.informatica.project.repository.deployer.common.SetupEmbeddedJRS.getEmbeddedJRSInstance(SetupEmbeddedJRS.java:94)
at com.informatica.project.repository.deployer.embedded.EmbeddedConnectionFactory.initializeProjectRepoSvc(EmbeddedConnectionFactory.java:458)
at com.informatica.project.repository.deployer.embedded.EmbeddedConnectionFactory.connect(EmbeddedConnectionFactory.java:162)
at com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl.initImpl(PRSDomainRepositoryServiceImpl.java:226)
at com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl.initDB(PRSDomainRepositoryServiceImpl.java:639)
at com.informatica.isp.domainrepositoryservice.impl.PRSDomainRepositoryServiceImpl.init(PRSDomainRepositoryServiceImpl.java:536)
at com.informatica.isp.infasetup.impl.ConfigDomainPluginImpl.defineDomain(ConfigDomainPluginImpl.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.informatica.pcsf.cmdframework.PluginCommand.run(PluginCommand.java:46)
at com.informatica.pcsf.cmdframework.Infasetup.execute(Infasetup.java:190)
at com.informatica.pcsf.cmdframework.Infasetup.main(Infasetup.java:85)
Caused by: com.informatica.repository.persistence.PersistenceInitializationException: [PERSISTENCEAPI_0307] [VIEWS_0014] Failed to create view 'MRI_MRSSCHEMATES33840' This was caused by [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
at com.informatica.repository.persistence.database.oracle.OracleHandler.createView(OracleHandler.java:599)
at com.informatica.repository.persistence.database.DatabaseHandler.detectSchemaName(DatabaseHandler.java:1084)
... 27 more
Caused by: com.informatica.repository.persistence.ExceptionSurrogate: java.sql.SQLException: [informatica][Oracle JDBC Driver][Oracle]ORA-01031: insufficient privileges
at com.informatica.jdbc.oraclebase.ddb9.b(Unknown Source)
at com.informatica.jdbc.oraclebase.ddb9.a(Unknown Source)
at com.informatica.jdbc.oraclebase.ddb8.b(Unknown Source)
at com.informatica.jdbc.oraclebase.ddb8.a(Unknown Source)
at com.informatica.jdbc.oracle.ddm.q(Unknown Source)
at com.informatica.jdbc.oraclebase.ddel.v(Unknown Source)
at com.informatica.jdbc.oraclebase.ddel.x(Unknown Source)
at com.informatica.jdbc.oraclebase.ddel.executeUpdate(Unknown Source)
at com.informatica.repository.persistence.database.oracle.OracleHandler.createView(OracleHandler.java:597)
... 28 more
Installation Status:ERROR
The Informatica 9.1.0 HotFix 2 installation is complete.
Tuesday, July 29, 2014
All the errors occurred when the setup process tried to access a local instance of Oracle. You don't mention any RDBMS in your question, so my guess is that you don't have any installed.
Successfully installed informatica 9 on windows 8. Problem is with domain creation. Rebooted my system and installed both oracle and informatica with out changing default paths. One more thing is java should be intalled in your system
When I was trying to install Informatica on Windows 8, it installed successfully, the domain was created without problems (on a remote Oracle Instance at a separate server) but when the machine was rebooted and the Informatica service was successfully started, Administration console was not available. Nothing was listening on the 6008 port.
The Informatica support told me that this Operating system is not supported and it should not work.