External JDBC Connexion to Mysql in BAM Server 11g
Hi,
I try to create an external datasource to a Mysql Server.
When I test it, it runs well.
I create a data object using this external datasource, I can "Browse" all tables of the MySQL schema.
But when I try to see the CONTENT of my Data Object, I have this message :
BAM-01262: Active Data Cache server exception in openViewset().
Source: "ActiveDataCache" ID: "ADCServerException"
Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
Source: "com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1"
In the nohup file of the server, I can see this message :
SEVERE: ActiveDataCache: Exception occurred in method openViewset(_TestFSListProjet,0)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.openViewset(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.openViewset(Unknown Source)
at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
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 oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Does any body have an idea to solve this problem ?
In advance,
Thanks,
Jerome
Answer of the Second question.
2. Can you please check the data types of the columns of the MySQL table and test again one by one for which data type and for what data, this error is getting thrown?
Here is the description of the table "flyspray_projects" :
Field Type Null Key Default Extra
project_id int(3) PRI auto_increment
project_title varchar(100)
theme_style varchar(20) 0
default_cat_owner int(3) 0
intro_message longtext
project_is_active int(1) 0
visible_columns varchar(255)
others_view int(1) 0
anon_open int(1) 0
notify_email longtext
notify_jabber longtext
notify_reply text YES
notify_types varchar(100) 0
feed_img_url text YES
feed_description text YES
notify_subject varchar(100)
lang_code varchar(10) en
comment_closed int(1) 0
auto_assign int(1) 0
last_updated int(11) 0
default_task text YES
default_entry varchar(8) index
In my DataObject, I try with only ONE field.
1) With "project_id", which is a number
2) With "project_title" which is a varchar
The result was the same Error Message :
Logging Writeline(single parameter) Exception: java.lang.IllegalArgumentException: can't parse argument number - Exception occurred in method count(oracle.bam.adc.common.Modifier@33888bf4 DatasetID="_MysqlTestStringSeulement" Distinct=false AllFields=false Fields={} RecordFieldInfo=[] LookupInfo={} Ordering=[] Groupings={oracle.bam.adc.common.Groupings@366f70e Groups=[oracle.bam.adc.common.Group@366f71a FieldID="null" GroupRefID=null GroupRecordFieldInfo=[] GroupFields=[]]} Expression={null} GroupFilter={null} MaxRows=-1 TopN=-1 WithTies=false CollapseAggregates=false,true)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.datasets.Dataset.count(Dataset.java:4019)
at oracle.bam.adc.kernel.server.DataStoreServer.count(DataStoreServer.java:886)
at oracle.bam.adc.ejb.BamAdcServerBean.count(BamAdcServerBean.java:621)
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 com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.count(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.count(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:1205)
at oracle.bam.adc.api.client.BamAdcClient.count(BamAdcClient.java:641)
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 oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.count(Unknown Source)
at oracle.bam.adc.api.datasets.Dataset.count(Dataset.java:1421)
at oracle.bam.web.architect.DataObjectsView.general(DataObjectsView.java:182)
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 oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Jan 8, 2010 10:44:45 AM oracle.bam.common.logging.Log writeLine
SEVERE: ActiveDataCache: Exception occurred in method openViewset(_MysqlTestStringSeulement,0)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.openViewset(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.openViewset(Unknown Source)
at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
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 oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Similar Messages
-
Oracle BPEL Process Manager 10.1.3.x sensors and Oracle BAM Server 11g TP4
In Oracle Fusion Middleware Developers Guide for Oracle SOA Suite in section 42.5 there is the next:
"You can also use Oracle BPEL Process Manager 10.1.3.1 sensor actions to publish sensor data as data objects on Oracle BAM Server 11g"
Is it really possible?Hi, Please post this in BPEL forum, not here.
Regards,
Priyanka GES -
Update of MySQL and SQL Server JDBC Driver does not work in 1.2.1
Hi,
always after the update process is started i got the MySQL and SQL Server JDBC driver
update notification.
But all the time after i install the update i got the notification again but no errormessage
that the update was maybe not successful ???
FrankOk
then my subject was false
i always try to update the extensions and now i can see that they are updated on the filesystem but the IDE does not recognize them as updated
....\sqldeveloper\sqldeveloper\extensions\oracle.sqldeveloper.thirdparty.drivers.mysql
is available and new after the update process
and under
...\sqldeveloper\sqldeveloper\tmp\update\oracle.sqldeveloper.thirdparty.drivers.mysql.5239.zip
the downloaded zip file is also available.
In the update window the message is that the extension with version 5206 is available
Maybe that is the problem cause the downloaded files are version 11.1.1.5239
if you look at the bundle.xml file inside the META-INF directory
Frank -
Need JDBC driver string for MYSQL DB Resin server
Please any body provide me the jdbc driver for MYSQL
database for Resin server
ThanksThe driver and URL string are independent of server you deploy them on.
Put that JDBC JAR in your Web app's WEB-INF/lib directory and it'll be in the CLASSPATH.
Set up the pooled data source as appropriate for your server. That's the server-dependent part.
% -
Hi All,
i am trying to start the BAM server in Windows7 local Machine,in AdminConsole , after starting the NodeMAnager in CMD.
-->i got the server status as failed , i ahve ched the logs in E:\Oracle\Middleware\user_projects\domains\Soa_domain\servers\bam_Server1\logs\bam_server1.out
i could see the following error.
starting weblogic with Java version:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_4\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms768m -Xmx1536m -XX:PermSize=256m -XX:MaxPermSize=768m -Dweblogic.Name=bam_server1 -Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.system.BootIdentityFile=E:\Oracle\Middleware\user_projects\domains\Soa_domain\servers\bam_server1\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1 -Djrockit.optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1\servers\bam_server1 -Doracle.domain.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1\carml -Digf.arisidstack.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\servers\bam_server1\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol"|"oracle.fabric.common.classloaderurl.handler"|"oracle.fabric.common.uddiurl.handler"|"oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=false -Doracle.security.jps.policy.migration.validate.principal=false -da:org.apache.xmlbeans... -Dbpm.enabled=true -Dsoa.archives.dir=E:\Oracle\Middleware\Oracle_SOA1\soa -Dsoa.oracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Dsoa.instance.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1 -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks -Dem.oracle.home=E:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dbam.oracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Dums.oracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Dweblogic.management.discover=false -Dweblogic.management.server=http://[2001:0:5ef5:79fb:4b5:2a1f:3f57:fdf8]:7001 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath weblogic.Server
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
<Jul 8, 2013 10:25:15 AM> <FINEST> <NodeManager> <Waiting for the process to die: 6800>
<Jul 8, 2013 10:25:15 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Jul 8, 2013 10:25:16 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
after that i changed the Listen port number of bam_server1 to from 9001 to 9003 and NodeManager from 5556 to 5557 , after that i restarted the NodeManager Still getting same error.
NodeManager after restart running on old Listen port,it is not running on 5557
NodeManagerHome=E:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1
ListenAddress=
ListenPort=5556
ListenBacklog=50
SecureListener=true
AuthenticationEnabled=true
NativeVersionEnabled=true
CrashRecoveryEnabled=false
JavaHome=C:\PROGRA~1\Java\JDK16~1.0_4\jre
StartScriptEnabled=true
StopScriptEnabled=false
StartScriptName=startWebLogic.cmd
StopScriptName=
LogFile=E:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1\nodemanager.log
LogLevel=INFO
LogLimit=0
LogCount=1
LogAppend=true
LogToStderr=true
LogFormatter=weblogic.nodemanager.server.LogFormatter
DomainsFile=E:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1\nodemanager.domains
DomainsFileEnabled=true
StateCheckInterval=500
UseMACBroadcast=false
DomainRegistrationEnabled=false
DomainsDirRemoteSharingEnabled=falseHi All,
i am trying to start the BAM server in Windows7 local Machine,in AdminConsole , after starting the NodeMAnager in CMD.
-->i got the server status as failed , i ahve ched the logs in E:\Oracle\Middleware\user_projects\domains\Soa_domain\servers\bam_Server1\logs\bam_server1.out
i could see the following error.
starting weblogic with Java version:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_4\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms768m -Xmx1536m -XX:PermSize=256m -XX:MaxPermSize=768m -Dweblogic.Name=bam_server1 -Djava.security.policy=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.system.BootIdentityFile=E:\Oracle\Middleware\user_projects\domains\Soa_domain\servers\bam_server1\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xverify:none -da:org.apache.xmlbeans... -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=E:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=E:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dcommon.components.home=E:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1 -Djrockit.optfile=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1\servers\bam_server1 -Doracle.domain.config.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1\carml -Digf.arisidstack.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1\servers\bam_server1\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1,E:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol"|"oracle.fabric.common.classloaderurl.handler"|"oracle.fabric.common.uddiurl.handler"|"oracle.bpm.io.fs.protocol -Dweblogic.jdbc.remoteEnabled=false -Doracle.security.jps.policy.migration.validate.principal=false -da:org.apache.xmlbeans... -Dbpm.enabled=true -Dsoa.archives.dir=E:\Oracle\Middleware\Oracle_SOA1\soa -Dsoa.oracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Dsoa.instance.home=E:\Oracle\MIDDLE~1\USER_P~1\domains\SOA_DO~1 -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=E:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks -Dem.oracle.home=E:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dbam.oracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Dums.oracle.home=E:\Oracle\Middleware\Oracle_SOA1 -Dweblogic.management.discover=false -Dweblogic.management.server=http://[2001:0:5ef5:79fb:4b5:2a1f:3f57:fdf8]:7001 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classpath;E:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_manifest_classpath weblogic.Server
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
<Jul 8, 2013 10:25:15 AM> <FINEST> <NodeManager> <Waiting for the process to die: 6800>
<Jul 8, 2013 10:25:15 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Jul 8, 2013 10:25:16 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
after that i changed the Listen port number of bam_server1 to from 9001 to 9003 and NodeManager from 5556 to 5557 , after that i restarted the NodeManager Still getting same error.
NodeManager after restart running on old Listen port,it is not running on 5557
NodeManagerHome=E:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1
ListenAddress=
ListenPort=5556
ListenBacklog=50
SecureListener=true
AuthenticationEnabled=true
NativeVersionEnabled=true
CrashRecoveryEnabled=false
JavaHome=C:\PROGRA~1\Java\JDK16~1.0_4\jre
StartScriptEnabled=true
StopScriptEnabled=false
StartScriptName=startWebLogic.cmd
StopScriptName=
LogFile=E:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1\nodemanager.log
LogLevel=INFO
LogLimit=0
LogCount=1
LogAppend=true
LogToStderr=true
LogFormatter=weblogic.nodemanager.server.LogFormatter
DomainsFile=E:\Oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1\nodemanager.domains
DomainsFileEnabled=true
StateCheckInterval=500
UseMACBroadcast=false
DomainRegistrationEnabled=false
DomainsDirRemoteSharingEnabled=false -
How to connect Mysql to J2EE server exactly?
Hi,there
I would like thank you for offering me your precious opinion in advance.
I got a problem with installing Mysql database into J2EE server. All I have done is:
1.Install Mysql and put the Mysql driver,mm.mysql-2.0.4-bin.jar into the directory of J2EE which is j2ee1.3.1/lib.
2. Set the environment variable for invoking the Mysql driver like
this,CLASSPATH=.;%JAVA_HOME%\lib\mysql-connector-java-2.0.14-bin;%
J2EE_HOME%\lib\mysql-connector-java-2.0.14-bin;%JAVA_HOME%\bin;
3.Modify the content of Server.xml file located in J2EE directory like this:
<DefaultContext>
<Resource name="jdbc/mysql" auth="Container"
type="javax.sql.DataSource" />
<ResourceParams name="jdbc/mysql">
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
<parameter>
<name>drivername</name>
<value>jdbc:mysql:localhost:3306:mobiledb</value>
</parameter>
</ResourceParams>
</DefaultContext>
So far,I have no success in connect Mysql to J2EE server. What am I doing wrong?
Thank you for your kind help.hi, sameer
Thank you for reply. Could you tell me exactly the documents that you see? Do you mean "J2EE tutorial documents"?
Thanks for advice.
Revon -
After configuring LDAP Oracle BAM Server is not starting
Configured LDAP on SOA Suite PS3 (11.1.1.4.0) environment. As per the requirement create OracleSystemUser and OracleSystemGroup in external LDAP and made the user as memner to OracleSystemGroup. Followed the guide @ http://www.oracle.com/technetwork/middleware/bam/technote-bam-multiplesecurityprovid-130532.pdf
As per the BAM requirement,
1) Created user "OracleSystemUser" in the external LDAP
2) Created group "OracleSystemGroup" in the external ldap
3) Made "OracleSystemUser" as member to "OracleSystemGroup"
Post configuration, restarted SOA Admin Server and Oracle BAM Server but BAM Server failed to start and its goving following error in the logs :
[2011-08-17T13:34:38.563+00:00] [bam_server1] [NOTIFICATION] [] [oracle.bam.adc.kernel.server.DataStoreServer] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: OracleSystemUser ] [ecid: 679489bd4ac3a480:-4b8798f0:131d7f26dd0:-8000-0000000000000002,0] [APP: oracle-bam#11.1.1] BAM schema version is 2025
[2011-08-17T13:35:28.530+00:00] [bam_server1] [ERROR] [] [oracle.bam.adc.security] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: OracleSystemUser ] [ecid: 679489bd4ac3a480:-4b8798f0:131d7f26dd0:-8000-0000000000000002,0] [APP: oracle-bam#11.1.1] [15] Authenticator.createAdminContext: Exception occurred attempting to create administrator context.[[
java.lang.Exception: BAM administrator account OracleSystemUser does not m_connection-jpss null
at oracle.bam.adc.security.authentication.Authenticator.createAdminContext(Authenticator<Aug 22, 2011 2:20:00 PM GMT+00:00> <Warning> <org.apache.myfaces.trinidad.webapp.ResourceServlet> <BEA-000000> <ResourceServlet._setHeaders(): Content type for /bi/jsLibs/engine_20101227.swf is NULL! at oracle.bam.adc.kernel.server.ADCService.startService(ADCService.java:91)
Cause: Unknown file extension> erver$ServiceEntry$1.run(BamServer.java:1717)
Verified the synchronization of OracleSystemUser as I was able to login using this user to other SOA Application urls.
Any pointers to resolve this issue would be highly appreciated.Hi Raj,
Couple of points. Please check,
1. if the listener is up
2. the tnsnames.ora to check the right HOST
3. related services are up
The following thread may be of use :
Re: Not able to connect to Oracle B2B database after restart of my system
Regards,
Dheeraj -
How to use mysql in J2EE server?
Hi all,
I have been learning J2EE and playing around with Pointbase as my database and the IDE that I'm using is Forte For JAVA 4 EE.
Now, I wanna use mysql in J2EE, EJB. But I do not know how to use mysql in j2ee server. I have try to altered the resources.property file by adding a few lines to called the MYSQL datasource and driver. But, it give me errors when i am doing the deployment process. Can any1 of u help me?
Thanks in advance..Hi,
I guess there must be some problem with your App Server Configuration settings:
Kindly Check if you are using the following ones:
Driver Name: com.mysql.jdbc.Driver
Url: jdbc:mysql://[hostname][,failoverhost...][:port]/[dbname][?param1=value1][¶m2=value2].....
Thanks & regards,
Paritosh
Software Engineer
L&T Infotech Ltd -
Oracle BAM Server don't start.
Below is the log file.
Any suggestion?
Thank you!Hi,
The problem is database connection to almost all schemas:
MDS-00929: unable to look up name "jdbc/mds/owsm" in JNDI context
weblogic.application.ModuleException: [HTTP:101216]Servlet: "BamServerSingletonServlet" failed to preload on startup in Web application: "/oracle/bam".
java.lang.RuntimeException: java.sql.SQLException: The Network Adapter could not establish the connection
You should ensure you can connect from middleware server to database, and data source information is right (<domain_location>/config/jdbc/<datasource files>)
Hope this helps.
Regards,
Jorge -
Hi,
i'd like to use JDBC connection with Mysql which is embedded in my application(not client/server version).How can i code to connect my application to such embedded server.
Can anyone help me.Thanx in advance...Hi,
i'd like to use JDBC connection with Mysql which is
embedded in my application(not client/server
version).How can i code to connect my application to
such embedded server.
This might be possible with a lot of work. And a non-trivial amount of code in C/C++. If you are not experienced with C/C++ then I would not suggest that you try this.
This implies that MySQL is running in the same process space as the jvm. That means that you will need to write a shell in C/C++ that starts the JVM and starts MySQL. Starting the JVM in C/C++ is detailed in the JNI. It should certainly be possible to start MySQL from your own C/C++ code, but you would have to track down the documentation to do it.
Starting this up is going to take as much time as starting the JVM and MySQL server together.
You could still use the same jdbc driver or you could modify it (with a lot of work) to go direct. -
Clicking "New Connetion" in pingmain.jsp, I was able to connect to mysql jdbc by entering user, password, and URL as "jdbc:mysql://localhost:3306/canaust".
I set up a JDBC datasource "jdbc/canaust" using exactly same info above, but when clicking "Server Datasources" in pingmain.jsp page and then choosing the "jdbc/canaust", I got the following error:
SQLException is :com.sun.enterprise.repository.J2EEResourceException
java.lang.NoSuchMethodException: setpassword
Thanks,Hi Henry,
Please post the <jdbc-connection-pool> part from your server.xml file .That would enable us to look into the problem.
I guess,there are whitespaces in the name attribute of the property tag in your server.xml file as in the example below
(whitespace after password) :
<property value="scott" name="password "/>
Please remove the whitespaces if present.
Get back if you have any issues.
-Amol -
HI,
could please suggest me for which drivers are suitable to create data server of mysql.
please share any links for jdbc specification.
Regards,
SuryaHi,
You should have mysql-connector-java driver. you can down load from here http://dev.mysql.com/downloads/connector/j/
then use
JDBC Driver: com.mysql.jdbc.Driver
Url: jdbc:mysql://55.118.21.187:3306/dtbs3306
Thanks. -
How to Create an Oracle BAM Server Connection?
I m following the steps at the end of this post to create the connection but at the end I m getting this message from JDev:
{Unable to write to
/C:/JDeveloper/mywork/Application1/.adf/META-INF/connections.xml
because it is a read-only. Either make it writable or allow it to be made writable through source control.}
it creates the directory C:/JDeveloper/mywork/Application1/.adf/META-INF/ with only a adf-config.xml file but NOT the connections.xml any one knows what is wrong?
Bellow is the stpes I m following. Its exactly what is written at the Oracle Fusion Middleware Developer´s guide for Oracle SOA Suite 11g Release 1(11.1.1) E10224-01
To create an Oracle BAM connection:
1. Select New from the File main menu in Oracle JDeveloper.
The New Gallery dialog opens.
2. Choose Connections from the General category.
3. Select BAM Connection in the Items list, and click OK.
The BAM Connection wizard opens.
4. Provide a name for the connection. Leave the Create Connection In selection as
Application Resources.
5. Click Next.
6. Enter the following connection information about the Oracle BAM instance.
7. Click Next.
8. Test the connection by clicking Test Connection. If the connection was successful,
the following message appears:
Passed.
9. Click Finish.
Note: You can create connections to Oracle BAM in the Oracle
JDeveloper Resource Palette as well as the Application Resources
panel of a specific application. It is recommended that you create these
connections in the Application Resources pane rather than the
Resource Palette.
Field Description
BAM Web Host Enter the name of the host on which the BAM report server and
Web server are installed. In most cases, the BAM Web host and
Oracle BAM Server host are the same.
BAM Server Host Enter the name of the host on which the Oracle BAM Server is
installed.
User Name Enter the Oracle BAM Server user name (typically bamadmin).
Password Enter the password of the user name.
HTTP Port Enter the port number or accept the default value of 8888. This is
the HTTP port for the BAM Web host.
RMI Port Enter the port number or accept the default value of 9085. The
RMI port is for the BAM report cache, which is part of the Oracle
BAM Server.
Use HTTPS Select this check box if you want to use secure HTTP (HTTPS) to
connect to the Oracle BAM Server during design time.
Otherwise, HTTP is used.
Message was edited by:
Mario.MesquitaOk that will be nice, but is not the case I dont want to read the tutorial, the problem is I already start to read and execute the tutorial you told me the problem is this tutorial it doesnt show how to do everything from scratch because you already have inside the zip file everything like xmls etc etc, and I want to get my DO and create the process myself, I dont want to get something that it is already done, this tutorial does not show for example how to create this composite.xml, this file it is already inside the zip file, so this way I just follow half of the process and dont learn how to make the whole process.
tks -
Stored procedure : how to call SP in sender JDBC adapter for mysql
HI friends ,
we have JDBC---->XI--
>SAP scenario. For some business requirement, we have to call STORED PROCEDURE , please let me know how to call SP in sender JDBC adapter for mysql .
Thanks
mojibHi Mojib,
Please create a sample stored procedure like this which contains select statement and in communication channel give
wite stored procedure name only to sql query statment and in update statement write <test>.
I am executing this stored procedure successfully.
Create Proc GetResultX As
Begin
Select * From TESTX
End
Execute statement for stored procedure is :
Exec GetResultX
Regards
Laxmi Bhushan Jha
Rewards point if found usful
I have given same answer to one of the same thread -
Oracle BAM server doesn't start up
Hi, I have a BAM server in a cluster and start up sometimes and not others.
When started shuts down unexpectedly.
Logs files doesn't show errors.
=============================================================================================
startWebLogic.cmd console show a "million" times, stop when shutdown server
"(Warning) (oracle.mds) (BEA-000000) (A call to flushChanges on the current MDSSession does not specify the correct transaction key)"
==============================================================================================
startManagedWebLogic.cmd console show this:
There are 1 nested errors:
weblogic.management.ManagementException: [Management:141247]The configuration di
rectory C:\Oracle\Middleware\wlserver_10.3\common\bin\config does not exist and
the admin server is not available.
at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyle
Config(RuntimeAccessImpl.java:200)
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(Runtim
eAccessImpl.java:115)
at weblogic.management.provider.internal.RuntimeAccessService.start(Runt
imeAccessService.java:41)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
ager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
icesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)
>
<16/04/2014 11h'07 ART> <Notice> <WebLogicServer> <BEA-000365> <Server state cha
nged to FAILED>
<16/04/2014 11h'07 ART> <Error> <WebLogicServer> <BEA-000383> <A critical servic
e failed. The server will shut itself down>
<16/04/2014 11h'07 ART> <Notice> <WebLogicServer> <BEA-000365> <Server state cha
nged to FORCE_SHUTTING_DOWN>
Thanks!See the below error :
The configuration directory C:\Oracle\Middleware\wlserver_10.3\common\bin\config does not exist and the admin server is not available.
It clearly mentions that config.xml file was not found - which is needed for the Admin Server to start. Check in the above location if one exists or not.
Maybe you are looking for
-
On switching my mini on the backlight comes on and i cannot see the main menu. by playing around with the button I can access traqcks and these will play. I have tried resetting but this does not work. i have alos downloaded the updater sftware to re
-
Sort contacts by last name, not phonetic last name
When I try to sort my Contacts by "Last, First", iOS (version 5 on iPhone 4) actually sorts them by Phonetic last name, then phonetic first name. I have populated the Phonetic names of some people with deceptive name spellings so I can voice dial the
-
Re:AT&T Wants to Know More About Your iPhone 3G
Did anyone else get an email today from ATT with this topic? It is a survey of the 3G service/purchasing experience. Just curious if it is really from ATT. EMAIL: Dear Valued AT&T Customer, At AT&T we value your opinion and would like your feedback t
-
I'm having trouble opening some recent pdf files with Adobe Reader. This is a problem that has only happened in the last few weeks. All my older pdf files open without any problem. However all my more recently downloaded pdf files will not open. I g
-
My migration assistant won't work! Please Help.
Hi Everyone I am having problems with the migration assistant. I am trying to migrate my files from my mac book pro over to my mac book air but it doesn't work. It just keeps saying 'looking for other computers'... Please can someone help?