Re: [Dev] API manager - Error while getting Subscriber

2014-10-03 Thread Dinesh J Weerakkody
Akila,

Do you get this error at each and every time when you starts nodes or just
one time error?

On Thu, Oct 2, 2014 at 3:11 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi Udara and Dinesh,



 I think I solved the problem.. problem was with my oracle ojdbc connector
 I think. What I did was changed the odbc5 to odbc6 and cleared all
 generated files in repository/components/dropins.

 Thank you very much for your instant replies.

 Now all server components working but when starting Publisher it shows a
 error(but anyway server is up and running) regarding
 “CarbonDeploymentSchedulerTask Error while running deployment scheduler”
 check below for full error . also I search in the internet about this and
 it says I need to add some patch to solve this problem. Guys do you have
 any idea about that.



 ERROR - CarbonDeploymentSchedulerTask Error while running
 deployment scheduler..

 java.util.ConcurrentModificationException

 at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)

 at java.util.HashMap$EntryIterator.next(HashMap.java:834)

 at java.util.HashMap$EntryIterator.next(HashMap.java:832)

 at
 org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(Re
 positoryListener.java:270)

 at
 org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor
 yListener.java:253)

 at
 org.apache.axis2.deployment.RepositoryListener.startListener(Repositor
 yListener.java:371)

 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc
 hedulerTask.java:59)

 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.
 java:67)

 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisD
 eployment(CarbonDeploymentSchedulerTask.java:79)

 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(Carb
 onDeploymentSchedulerTask.java:124)

 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439
 )

 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:
 317)

 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
 ccess$101(ScheduledThreadPoolExecutor.java:98)

 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
 unPeriodic(ScheduledThreadPoolExecutor.java:180)

 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
 un(ScheduledThreadPoolExecutor.java:204)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
 tor.java:895)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
 java:918)

 at java.lang.Thread.run(Thread.java:662)



 Regards,

 Akila



 *From:* Dinesh J Weerakkody [mailto:dine...@wso2.com]
 *Sent:* Thursday, October 02, 2014 8:31 AM
 *To:* Udara Rathnayake
 *Cc:* Akila Nimantha [IT/EKO/LOITS]; dev@wso2.org
 *Subject:* Re: [Dev] API manager - Error while getting Subscriber



 Hi Akila,

 If you go down to your error log you will be able to see a database
 connection issue

 Caused by: java.sql.SQLException: ORA-00942: table or view does not exist

  When I go through your database configuration I saw a typo in connection
 URL

 jdbc:oracle:*chin*:@10.20.30.40:50/databasess

 and it should be

 jdbc:oracle:*thin*:@10.20.30.40:50/databasess



 I hope this will help you..

 Thanks.





 On Thu, Oct 2, 2014 at 1:45 AM, Udara Rathnayake uda...@wso2.com wrote:

  Hi Akila,

 Are you getting the same error when you login to store app continuously?



 On Wed, Oct 1, 2014 at 7:46 AM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 I am trying to deploy api manager in cluster pattern with targeting oracle
 db. I just followed
 https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager and
 changed to oracle db from mysql. now all four components are up and running
 but in Store node, when I trying to login, in front end it shows nothing.
 But the log gives me following error,(please check attached log.txt for
 more..)



 TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)
 {org.jaggeryjs.scriptengine.engine.RhinoEngine}

 TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)
 {org.jaggeryjs.jaggery.core.manager.WebAppManager}

 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2

Re: [Dev] API manager - Error while getting Subscriber

2014-10-03 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Dinesh,

I get this error each time start nodes. But after starting the node(after 
showing urls to login) it not shows again. And for now it not affected to my 
works AFAIK(but don’t know how will affect in future). Just wanted to clear 
from you guys.

Regards,
Akila

From: Dinesh J Weerakkody [mailto:dine...@wso2.com]
Sent: Friday, October 03, 2014 4:25 PM
To: Akila Nimantha [IT/EKO/LOITS]
Cc: Udara Rathnayake; dev@wso2.org
Subject: Re: [Dev] API manager - Error while getting Subscriber

Akila,
Do you get this error at each and every time when you starts nodes or just one 
time error?

On Thu, Oct 2, 2014 at 3:11 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi Udara and Dinesh,

I think I solved the problem.. problem was with my oracle ojdbc connector I 
think. What I did was changed the odbc5 to odbc6 and cleared all generated 
files in repository/components/dropins.
Thank you very much for your instant replies.
Now all server components working but when starting Publisher it shows a 
error(but anyway server is up and running) regarding 
“CarbonDeploymentSchedulerTask Error while running deployment scheduler” check 
below for full error . also I search in the internet about this and it says I 
need to add some patch to solve this problem. Guys do you have any idea about 
that.

ERROR - CarbonDeploymentSchedulerTask Error while running 
deployment scheduler..
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$EntryIterator.next(HashMap.java:834)
at java.util.HashMap$EntryIterator.next(HashMap.java:832)
at 
org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(Re  
  positoryListener.java:270)
at 
org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor  
  yListener.java:253)
at 
org.apache.axis2.deployment.RepositoryListener.startListener(Repositor  
  yListener.java:371)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc  
  hedulerTask.java:59)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.  
  java:67)
at 
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisD  
  eployment(CarbonDeploymentSchedulerTask.java:79)
at 
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(Carb  
  onDeploymentSchedulerTask.java:124)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439  
  )
at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:  
  317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a  
  ccess$101(ScheduledThreadPoolExecutor.java:98)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r  
  unPeriodic(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r  
  un(ScheduledThreadPoolExecutor.java:204)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu  
  tor.java:895)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.  
  java:918)
at java.lang.Thread.run(Thread.java:662)

Regards,
Akila

From: Dinesh J Weerakkody [mailto:dine...@wso2.commailto:dine...@wso2.com]
Sent: Thursday, October 02, 2014 8:31 AM
To: Udara Rathnayake
Cc: Akila Nimantha [IT/EKO/LOITS]; dev@wso2.orgmailto:dev@wso2.org
Subject: Re: [Dev] API manager - Error while getting Subscriber

Hi Akila,
If you go down to your error log you will be able to see a database connection 
issue

Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
When I go through your database configuration I saw a typo in connection URL

jdbc:oracle:chin:@10.20.30.40:50/databasesshttp://10.20.30.40:50/databasess

and it should be
jdbc:oracle:thin:@10.20.30.40:50/databasesshttp://10.20.30.40:50/databasess

I hope this will help you..
Thanks.



On Thu, Oct 2, 2014 at 1:45 AM, Udara Rathnayake 
uda...@wso2.commailto:uda...@wso2.com wrote:
Hi Akila,
Are you getting the same error when you login to store app continuously?

On Wed, Oct 1, 2014 at 7:46 AM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi all,

I am trying to deploy api manager in cluster pattern with targeting oracle db. 
I just followed https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager 
and changed to oracle db from mysql. now all four components are up and running 
but in Store node, when I trying to login, in front end it shows nothing. But 
the log gives me following error,(please check attached log.txt for more

Re: [Dev] API manager - Error while getting Subscriber

2014-10-02 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Udara and Dinesh,

I think I solved the problem.. problem was with my oracle ojdbc connector I 
think. What I did was changed the odbc5 to odbc6 and cleared all generated 
files in repository/components/dropins.
Thank you very much for your instant replies.
Now all server components working but when starting Publisher it shows a 
error(but anyway server is up and running) regarding 
“CarbonDeploymentSchedulerTask Error while running deployment scheduler” check 
below for full error . also I search in the internet about this and it says I 
need to add some patch to solve this problem. Guys do you have any idea about 
that.

ERROR - CarbonDeploymentSchedulerTask Error while running 
deployment scheduler..
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$EntryIterator.next(HashMap.java:834)
at java.util.HashMap$EntryIterator.next(HashMap.java:832)
at 
org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(Re  
  positoryListener.java:270)
at 
org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor  
  yListener.java:253)
at 
org.apache.axis2.deployment.RepositoryListener.startListener(Repositor  
  yListener.java:371)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc  
  hedulerTask.java:59)
at 
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.  
  java:67)
at 
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisD  
  eployment(CarbonDeploymentSchedulerTask.java:79)
at 
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(Carb  
  onDeploymentSchedulerTask.java:124)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439  
  )
at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:  
  317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a  
  ccess$101(ScheduledThreadPoolExecutor.java:98)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r  
  unPeriodic(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r  
  un(ScheduledThreadPoolExecutor.java:204)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu  
  tor.java:895)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.  
  java:918)
at java.lang.Thread.run(Thread.java:662)

Regards,
Akila

From: Dinesh J Weerakkody [mailto:dine...@wso2.com]
Sent: Thursday, October 02, 2014 8:31 AM
To: Udara Rathnayake
Cc: Akila Nimantha [IT/EKO/LOITS]; dev@wso2.org
Subject: Re: [Dev] API manager - Error while getting Subscriber

Hi Akila,
If you go down to your error log you will be able to see a database connection 
issue

Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
When I go through your database configuration I saw a typo in connection URL

jdbc:oracle:chin:@10.20.30.40:50/databasesshttp://10.20.30.40:50/databasess

and it should be
jdbc:oracle:thin:@10.20.30.40:50/databasesshttp://10.20.30.40:50/databasess

I hope this will help you..
Thanks.




On Thu, Oct 2, 2014 at 1:45 AM, Udara Rathnayake 
uda...@wso2.commailto:uda...@wso2.com wrote:
Hi Akila,
Are you getting the same error when you login to store app continuously?

On Wed, Oct 1, 2014 at 7:46 AM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi all,

I am trying to deploy api manager in cluster pattern with targeting oracle db. 
I just followed https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager 
and changed to oracle db from mysql. now all four components are up and running 
but in Store node, when I trying to login, in front end it shows nothing. But 
the log gives me following error,(please check attached log.txt for more..)

TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.scriptengine.engine.RhinoEngine} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.scriptengine.engine.RhinoEngine}
TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.jaggery.core.manager.WebAppManager} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: 
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2

[Dev] API manager - Error while getting Subscriber

2014-10-01 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all,

I am trying to deploy api manager in cluster pattern with targeting oracle db. 
I just followed https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager 
and changed to oracle db from mysql. now all four components are up and running 
but in Store node, when I trying to login, in front end it shows nothing. But 
the log gives me following error,(please check attached log.txt for more..)

TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.scriptengine.engine.RhinoEngine} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.scriptengine.engine.RhinoEngine}
TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.jaggery.core.manager.WebAppManager} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: 
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38)

also I attached my changed master-datasource.xml and registry.xml.
but in Store node sign up part is working fine.

Regards,
Akila

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

Thank you.
TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.scriptengine.engine.RhinoEngine} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.scriptengine.engine.RhinoEngine}
TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR 
{org.jaggeryjs.jaggery.core.manager.WebAppManager} -  
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38) 
{org.jaggeryjs.jaggery.core.manager.WebAppManager}
org.jaggeryjs.scriptengine.exceptions.ScriptException: 
org.mozilla.javascript.WrappedException: Wrapped 
org.wso2.carbon.apimgt.api.APIManagementException: Error while getting 
Subscriber (/store/modules/user/login.jag#38)
at 
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:575)
at 
org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273)
at 
org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432)
at 
org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at 
org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at 
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at 

Re: [Dev] API manager - Error while getting Subscriber

2014-10-01 Thread Udara Rathnayake
Hi Akila,

Are you getting the same error when you login to store app continuously?

On Wed, Oct 1, 2014 at 7:46 AM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi all,



 I am trying to deploy api manager in cluster pattern with targeting oracle
 db. I just followed
 https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager and
 changed to oracle db from mysql. now all four components are up and running
 but in Store node, when I trying to login, in front end it shows nothing.
 But the log gives me following error,(please check attached log.txt for
 more..)



 TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)
 {org.jaggeryjs.scriptengine.engine.RhinoEngine}

 TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)
 {org.jaggeryjs.jaggery.core.manager.WebAppManager}

 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)



 also I attached my changed master-datasource.xml and registry.xml.

 but in Store node sign up part is working fine.

What do you mean by store node here?
Are you able to login to the publisher app?

Can you attach logs from Key-manager node when you face this issue.



 Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : 1 4087864651
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API manager - Error while getting Subscriber

2014-10-01 Thread Dinesh J Weerakkody
Hi Akila,

If you go down to your error log you will be able to see a database
connection issue

Caused by: java.sql.SQLException: ORA-00942: table or view does not exist

When I go through your database configuration I saw a typo in connection URL

jdbc:oracle:*chin*:@10.20.30.40:50/databasess

and it should be

jdbc:oracle:*thin*:@10.20.30.40:50/databasess

I hope this will help you..

Thanks.





On Thu, Oct 2, 2014 at 1:45 AM, Udara Rathnayake uda...@wso2.com wrote:

 Hi Akila,

 Are you getting the same error when you login to store app continuously?

 On Wed, Oct 1, 2014 at 7:46 AM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 I am trying to deploy api manager in cluster pattern with targeting
 oracle db. I just followed
 https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager and
 changed to oracle db from mysql. now all four components are up and running
 but in Store node, when I trying to login, in front end it shows nothing.
 But the log gives me following error,(please check attached log.txt for
 more..)



 TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)
 {org.jaggeryjs.scriptengine.engine.RhinoEngine}

 TID: [0] [AM] [2014-10-01 19:54:17,205] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)
 {org.jaggeryjs.jaggery.core.manager.WebAppManager}

 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.wso2.carbon.apimgt.api.APIManagementException: Error while getting
 Subscriber (/store/modules/user/login.jag#38)



 also I attached my changed master-datasource.xml and registry.xml.

 but in Store node sign up part is working fine.

 What do you mean by store node here?
 Are you able to login to the publisher app?

 Can you attach logs from Key-manager node when you face this issue.



 Regards,

 Akila

 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : 1 4087864651
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Dinesh J. Weerakkody*
Software Engineer
WSO2 Inc.
lean | enterprise | middleware
M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev