Java.lang.NoSuchMethodError when try to use RDBMS WLI adapter sp2
Hi,
We have encountered a problem when trying to use the latest version of the WLI
RDBMS adapter downloaded from the website.
This adapter comes as an ear file of size 4026K.
Has anyone been able to get this version to work??
Was using the earlier version of size 3278K happily but found a few bugs in it
so wanted to use the later version but when we do, we can't call any Application
View services.
When we try to call a service we get the error:
java.lang.NoSuchMethodError at com.ibi.beardbms.cci.InteractionImpl.execute(InteractionImpl.java:217)
at
com.bea.adapter.cci.AbstractDocumentRecordInteraction.execute(Unknown Source)
at com.bea.wlai.client.bean.ApplicationViewBean.executeRequest(Unknown Source)
at com.bea.wlai.client.bean.ApplicationViewBean.executeRequest(Unknown Source)
at com.bea.wlai.client.bean.ApplicationViewBean.invokeService(Unknown Source)
at com.bea.wlai.client.bean.ApplicationViewBean.invokeService(Unknown Source)
at com.bea.wlai.client.bean.ApplicationViewBean.invokeService(Unknown Source)
at com.bea.wlai.client.bean.ApplicationViewBean_g38mgs_EOImpl.invokeService(ApplicationViewBean_g38mgs_EOImpl.java:732)
Hi Adam,
You need to get Patch CR095687 in order to use this adapter with SP2, (and
stop this exception). It's mentioned in the release notes
(http://edocs.bea.com/wladapters/rdbms/docs70sp2/pdf/relnotes.pdf), a the
bottom of page 3. You need to contact BEA support for this patch.
Dave
"Adam Finlayson" <[email protected]> wrote in message
news:3ea8f771$[email protected]..
>
Hi,
We have encountered a problem when trying to use the latest version of theWLI
RDBMS adapter downloaded from the website.
This adapter comes as an ear file of size 4026K.
Has anyone been able to get this version to work??
Was using the earlier version of size 3278K happily but found a few bugsin it
so wanted to use the later version but when we do, we can't call anyApplication
View services.
When we try to call a service we get the error:
java.lang.NoSuchMethodError atcom.ibi.beardbms.cci.InteractionImpl.execute(InteractionImpl.java:217)
at
com.bea.adapter.cci.AbstractDocumentRecordInteraction.execute(UnknownSource)
at com.bea.wlai.client.bean.ApplicationViewBean.executeRequest(UnknownSource)
at com.bea.wlai.client.bean.ApplicationViewBean.executeRequest(UnknownSource)
at com.bea.wlai.client.bean.ApplicationViewBean.invokeService(UnknownSource)
at com.bea.wlai.client.bean.ApplicationViewBean.invokeService(UnknownSource)
at com.bea.wlai.client.bean.ApplicationViewBean.invokeService(UnknownSource)
atcom.bea.wlai.client.bean.ApplicationViewBean_g38mgs_EOImpl.invokeService(App
licationViewBean_g38mgs_EOImpl.java:732)
Similar Messages
-
Java.lang.NoSuchMethodError when deployed to 9iAS 9.0.3
Hi there!
After deploying a small web app developed in JDeveloper9.0.3.2 to Oracle9iAS OC4J 9.0.3, I get an error when trying to create a record using EditAction create() method:
java.lang.NoSuchMethodError
at oracle.jbo.html.struts11.actions.EditAction.create(EditAction.java:98)
What gives? ;-)
I assume it has something to do with incompatible BC4J library versions?
PS. Addition of new records using ViewObject.createAndInitRow() elsewhere in the application works fine
(Apologies for the repost, I entered an incorrect subject last time)Sorry, forgot to mention that I did try that, and this is the output I get:
C:\JDev9i\BC4J\bin>bc4j2oc4j install
Copying BC4J Libraries and support libraries to OC4J Home ...
Updating the OC4J config ...
Adding BC4J Properties to OC4J ...
Adding BC4J Libraries to OC4J ...
Adding BC4J.ear to OC4J ...
oracle.xml.parser.v2.XMLParseException: '--' is not allowed in comments.
void oracle.xml.parser.v2.XMLError.flushErrors1()
XMLError.java:205
void oracle.xml.parser.v2.NonValidatingParser.parseDTD(java.lang.String)
NonValidatingParser.java:224
void oracle.xml.parser.v2.DOMParser.parseDTD(java.io.InputStream, java.lang.String)
DOMParser.java:328
void oracle.jbo.ias.config.ConfigOC4J.initDTD(byte)
ConfigOC4J.java:114
void oracle.jbo.ias.config.ConfigOC4J.main(java.lang.String[])
ConfigOC4J.java:510
void oracle.jbo.ias.config.RunCommand.main(java.lang.String[])
RunCommand.java:74
Installed BC4J on OC4J successfully!
The environment variables are set as follows:
jdev_home=C:\jdev9i
jdk_home=c:\jdev9i\jdk
oc4j_home=C:\oc4j
I'm using JDeveloper 9.0.3.2 and OC4J 9.0.3 -
"java.lang.NoSuchMethodError" when migrating from 1.5 to 2.0
[ Problem ]
E:\Adobe2.0\Flash Access Reference Server Implementation\migration>java -cp bin;
libs\*;libs\1.5\*;libs\2.0\* com.adobe.flashaccess.refimpl.migration.V1_5PolicyC
onverter all
Exception in thread "main" java.lang.NoSuchMethodError: com.adobe.schema._1_0.pd
rl.Permission.getConstraint()Ljava/util/List;
at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.addToPolicy(Policy
RightHelper.java:272)
at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.toPDRL(PolicyRight
Helper.java:233)
at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.toASN1(PolicyRight
Helper.java:97)
at com.adobe.flashaccess.sdk.policy.Policy.serializePolicy(Policy.java:6
70)
at com.adobe.flashaccess.sdk.policy.Policy.getBytes(Policy.java:181)
at com.adobe.flashaccess.refimpl.migration.AbstractPolicyConverter.write
PolicyToFile(AbstractPolicyConverter.java:100)
at com.adobe.flashaccess.refimpl.migration.V1_5PolicyConverter.convertPo
licies(V1_5PolicyConverter.java:140)
at com.adobe.flashaccess.refimpl.migration.V1_5PolicyConverter.main(V1_5
PolicyConverter.java:87)
[ Solution ]
The class mentioned in the error message is in rm-pdrl.jar, which should be in your libs/2.0 directory. There may be a conflict between this jar and something in libs/1.5. Please try moving libs/2.0 before libs/1.5 in your classpath and see if that resolves the issue.hi Arie,
thanks for the tip ;-), I was using application id which was already use in my htmldb installation. I changed the id in the f105.sql to something which was not used and it went through fine.
We often run htmldb imports through sqlplus because when running it through web site it too often fails with timeout. When import is done through the web site I believe htmldb does the id modification automatically but in sqlplus that obviously won't happen hence we need to do it manually before running the script. If we don't change it import will fail as the workspace with the id mentioned in the sql script does not exist. Like you said might not be supported ....but it still works fine... :-)
thanks for your help.
Nina -
"java.lang.NoSuchMethodError" while try to access categories of taxonomy
Hi ,
I have created Index( <b>INDEX1</b> ) using Index Admin iViews under taxonomy folder.
under the index created( <b>INDEX1</b> ), I created a category manually ( <b>Cat1</b> ) .
my structure is like this
<b>/taxonomies/INDEX1/Cat1</b>
when I try to create another sub category under Cat1 . I am getting follwing error
<b>java.lang.NoSuchMethodError</b>
at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getDocumentTaxRMRids(TaxonomyNamespaceManager.java:1876)
at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getTaxonomyClassResources(TaxonomyNamespaceManager.java:1831)
at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.addChildDocuments(TaxonomyNamespaceManager.java:1942)
at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getChildren(TaxonomyNamespaceManager.java:368)
at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyNamespaceManager.getChildren(TaxonomyNamespaceManager.java:250)
at com.sapportals.wcm.repository.CollectionImpl.internalGetChildrenManager(CollectionImpl.java:927)
at com.sapportals.wcm.repository.CollectionImpl.internalGetChildren(CollectionImpl.java:945)
at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:137)
at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initializeSelectionList(AbstractRendererStatus.java:223)
at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.initialize(AbstractRendererStatus.java:209)
at com.sapportals.wcm.rendering.collection.AbstractRendererStatus.setParent(AbstractRendererStatus.java:56)
at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:726)
at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:498)
at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:141)
at com.sapportals.wcm.rendering.layout.cm.MenuTreeListLayoutController.render(MenuTreeListLayoutController.java:132)
at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1229)
at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:41)
at com.sapportals.wdf.stack.Pane.render(Pane.java:153)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
at com.sapportals.wdf.ControllerDynPage.executeEvent(ControllerDynPage.java:338)
at com.sapportals.wdf.BaseDynPage.onWdfEvent(BaseDynPage.java:132)
at java.lang.reflect.Method.invoke(Native Method)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:101)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:23)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:81)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:280)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1229)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
I am using
<b>Installed Portal Version
#Fri May 21 21:00:24 CEST 2004
Creation-Date=20040521
Creation-Time=1912
Manifest-Version=1.0
Implementation-Title=Portal version.info
JDK-Version=1.3.1
Creation-User=makefact
Implementation-Vendor=SAP AG
Sync-Changelist=204112
Implementation-Vendor-Id=com.sap
version=6.0.2.4.1
Specification-Vendor=SAP AG
Implementation-Version=6.2.0.4.200405212100
Make-Release=60_SP2_REL
Sync-Timestamp=200405211839
Version History
6.0.2.4.1.Enterprise_Portal_Service_Pack_2</b>
thanks
pkHi PK,
that's a bug - but:
(1) You are running SP2 P4 HF1, that's really old...
(2) The version info says nothing about the KMC level you are running, but probably, it is also quite old; that's (KMC) where the exeception comes from.
So the first advise is to upgrade your SP2 installation to a higher Patch-Level.
Hope it helps
Detlev
PS: Ooops, good morning Achim, you've been faster... -
hi,
I am getting this error java.lang.IllegalStateException when i am trying to send response to a jsp page
here is my code
try{
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");
PreparedStatement statement = con.prepareStatement(sql);
int i = 0;
i = i+1;
statement.setString(1,designation);
i = i+1;
statement.setString(2,Address);
i = i+1;
statement.setString(3,name);
statement.executeUpdate();
statement.close();
con.close();
catch(Exception e){
e.printStackTrace();
response.sendRedirect("employee.jsp");Shoebhere is the error
java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:433)
employee.doPost(employee.java:55)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
try{
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");
PreparedStatement statement = con.prepareStatement(sql);
int i = 0;
i = i+1;
statement.setString(1,designation);
i = i+1;
statement.setString(2,Address);
i = i+1;
statement.setString(3,name);
statement.executeUpdate();
statement.close();
con.close();
response.sendRedirect("employee.jsp");
catch(Exception e){
e.printStackTrace();
} -
Wsrp problem weblogic sp3 java.lang.NoSuchMethodError: setDeploymentCallba
if you get below stack trace while you want to activate wsrp in your sp3 producer the problem is that the JavaPortletLoader class in thewsrp-java-portlet-adapter. jar references to a sp6 class's method setDeploymentCallback which is in portlet-container.jar .
You have to replace your sp3 portlet-container.jar with the sp6 version..that's all!!
STACK TRACE:
javax.servlet.ServletException: setDeploymentCallback
at com.bea.wsrp.producer.WsrpServer.init()V(WsrpServer.java:113)
at javax.servlet.GenericServlet.init(Ljavax.servlet.ServletConfig;)V(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run()Ljava.lang.Object;(ServletStubImpl.java:1018)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax.servlet.Servlet;(ServletStubImpl.java:894)
at weblogic.servlet.internal.ServletStubImpl.createInstances()V(ServletStubImpl.java:873)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(Lweblogic.servlet.internal.RequestCallback;)V(ServletStubImpl.java:812)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(Ljava.lang.String;)V(WebAppServletContext.java:3281)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(Ljava.util.Vector;)V(WebAppServletContext.java:3238)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets()V(WebAppServletContext.java:3224)
at weblogic.servlet.internal.WebAppServletContext.preloadResources()V(WebAppServletContext.java:3207)
at weblogic.servlet.internal.HttpServer.preloadResources()V(HttpServer.java:694)
at weblogic.servlet.internal.WebService.preloadResources()V(WebService.java:483)
at weblogic.servlet.internal.ServletInitService.resume()V(ServletInitService.java:30)
at weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:361)
at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)
Caused by: java.lang.NoSuchMethodError: setDeploymentCallback
at com.bea.wsrp.producer.adapter.javaportlet.JavaPortletLoader.init(Ljavax.servlet.ServletContext;)V(JavaPortletLoader.java:86)
at com.bea.wsrp.producer.repository.PortletRepository.initLoaders(Ljavax.servlet.ServletContext;)V(PortletRepository.java:150)
at com.bea.wsrp.producer.repository.PortletRepository.init(Ljavax.servlet.ServletContext;)V(PortletRepository.java:109)
at com.bea.wsrp.producer.handlers.metadata.ServiceDescriptionServiceHandler.init(Ljavax.servlet.ServletContext;)V(ServiceDescriptionServiceHandler.java:102)
at com.bea.wsrp.producer.WsrpServer.bootstrapHandlers()V(WsrpServer.java:131)
at com.bea.wsrp.producer.WsrpServer.init()V(WsrpServer.java:107)
... 18 moreHi..
I guess itzz more of the service pack problems.
Jars built on the later version won't work in the previous version (service packs) of weblogic.
Try building a jar on the oldest version (service pack) u have and then try deploying it to the later version , i think it won't give u any problems.
Try it out and let me know if u face any problems -
Java.lang.NoSuchMethodError using BasicHttpContext
Hello
I want to write a simple ChatClient.
package com.inz.chat.client;
import java.io.IOException;
import java.io.InputStream;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
public class ChatClient
private HttpClient httpClient;
private String servletUrl;
public ChatClient(String urlPrefix)
this.servletUrl = urlPrefix + "ChatServlet";
this.httpClient = new DefaultHttpClient();
connectWithServer();
private void connectWithServer()
System.out.println("connect to " + servletUrl);
HttpGet httpget = new HttpGet(servletUrl);
try {
HttpResponse response = this.httpClient.execute(httpget);
HttpEntity entity = response.getEntity();
if (entity != null)
InputStream instream = entity.getContent();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
public static void main(String[] args)
String prefix = "http://127.0.0.1:8080/InzChat/";
new ChatClient(prefix);
}But when i start the program i always get:
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.protocol.BasicHttpContext: method <init>()V not found
at org.apache.http.impl.client.AbstractHttpClient.createHttpContext(AbstractHttpClient.java:273)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:797)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
at com.inz.chat.client.ChatClient.connectWithServer(ChatClient.java:30)
at com.inz.chat.client.ChatClient.<init>(ChatClient.java:22)
at com.inz.chat.client.ChatClient.main(ChatClient.java:48)I tried to use httpcore-4.0.jar and httpcore-4.1.jar, but the error is always the same. In other projects I used httpcore-4.1.jar to establish http connections without any problems, but here is something wrong...
Next to the jre1.6 classes and the tomcat 6 classes I have appframework-1.03.jar, commons-codec-1.4.jar, commons-logging-1.1.1.jar, httpclient-4.1.1.jar, httpclient-cache-4.1.1.jar, httpmime-4.1.1.jar set to the classpath, but there seems to be a problem
I' m using Eclipse for develpoment and I hope someone knows what to do here...
Kind regards,
Chang
Edited by: Chang on 02.09.2011 04:58Hello EJP thanks for your answer.
I put the jar files in the Project Properties->Java Build Path dialog to the project like i did it many times before. Now i added httpcore-4.0.jar and httpcore-4.1.jar to the classpath, but no difference the error is still the same. I don't know which jar files get used at runtime.
Alternatively i put the jar files in a lib folder under the WEB-INF folder, but the error leaves the same.
Can you please explain me the solution a little more detailed.
Kind regards,
Chang -
Error java.lang.NoSuchMethodError while using Lexalytics
Hello,
I have a Linux 64bit environment with the complete Endeca Information Discovery 2.4 installed. When I try to use the Text Enrichment component I get the error:
java.lang.NoSuchMethodError
I have edited the .bash_profile file with the parameters that are needed to use Lexalytics:
lxainstall=/home/oracle/Oracle/Endeca/Lexalytics
export lxainstall
LD_LIBRARY_PATH=$lxainstall/salience/lib
export LD_LIBRARY_PATH
JAVA_HOME=/usr/java/jdk1.6.0_45
export JAVA_HOME
JAVA_OPTS="-Djava.library.path=$LD_LIBRARY_PATH"
export JAVA_OPTS
PATH=$JAVA_HOME/bin:$PATH:$HOME/bin:$lxainstall
export PATH
Also when I try to export the LD_LIBRARY_PATH and reboot my system, my desktop doesn't load and I see no icons on my desktop. I can start programs with the top menu.
I have installed version 5.1 of Lexalytics.
Does anybody know why I get this error?
Thanks!
MarcoHi Marco, I had the same problem. Instead of loading LD_LIBRARY_PATH in .BASH_PROFILE I made a shell script that first load LD_LIBRARY_PATH and then start integrator. Now it is working fine for me.
-
Java.lang.NoSuchMethodError using beans and JSP
Hi,
I get a
java.lang.NoSuchMethodError: Unit.UnitBean.execSQL(Ljava/lang/String; Ljava/sql/ResultSet;
when i try to call that method from my jsp page. I can call all other methods in teh bean but I can't understand why it can't find execSQL when it finds every thing else.
Any help would be greatly appreciated.
Mike
Heres a copy of my java bean code:
package Unit;
import java.sql.*;
import java.io.*;
public class UnitBean
Connection con;
String error;
public boolean connect() throws ClassNotFoundException,SQLException
String StudentNumber = "xxx";
String strHost = "xxxx";
String strConnectURL = ("jdbc:postgresql://" + strHost + "/");
String strUser = "xxxx";
String strPassword = "xxxxx";
Class.forName("org.postgresql.Driver");
con = DriverManager.getConnection(strConnectURL, strUser, strPassword);
return true;
public void disconnect() throws SQLException
con.close();
public ResultSet execSQL(String sql)throws SQLException
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sql);
return rs;
public String test()
String Mike="HIHIHIHIHI";
return Mike;
}And the jsp code:
<%@ page language="java" contentType="text/html"%>
<%@ page import="java.sql.*" %>
<%@ page import="java.io.*" %>
<jsp:useBean id="Unit" class="Unit.UnitBean" scope="page"/>
<html>
<head>
<title>Test My Bean!!!!???!!?!</title>
</head>
<body>
<%
String SQL ="Select * from unit where unitid='CMPS2B26'";
ResultSet rs =null;
try
Unit.connect();
rs = Unit.execSQL(SQL);
while(rs.next())
out.println(rs.getString("unitid"));
Unit.disconnect();
catch(Exception e)
out.println("<p>Problem with jsp code" +e);
%>
This is a jsp page.
<p><a href = "http://stuweb3.cmp.uea.ac.uk/~xxxx/index.html">Click here for home page</a>
</body>
</html>Yeah, that worked great, thanks a lot. I thought that JSP compiled when you changed it and then visited it, but i've tried that. I just ran ant stop start on my server and it's all working.
Thanks again :)
Mike -
Java.lang.NoSuchMethodError: getSocket using JavaMail inside JBoss
Hi,
i built a library to easily send emails with JavaMail, via SMTP. When i use my lib in a stand-alone java application, it works fine, but when i need to use it inside my web application, deployed on JBoss AS, i get the following error:
Servlet.service() for servlet action threw exception
java.lang.NoSuchMethodError: getSocket
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:233)
at it.compit.mail.helper.send.SMTPSender.send(SMTPSender.java:39) where it.compit.mail.helper.send.SMTPSender.send is the method i use to send email in my lib. SMTPSender.java at line 39 is
SMTPTransport tr = (SMTPTransport) session.getTransport("smtp"); I don't want to use SessionBean to send email from JBoss AS. I did not include mail.jar in server/default/lib dir because JBoss has got a built-in implementation of JavaMail. Using javamail debugging, i've noticed that javamail inside my JBoss is "JavaMail version 1.3.1", while i used version 1.4ea to build my lib.
So, any ideas to solve my problem?
Thanks in advance.
Elisa Distefano a.k.a EthaHi bshannon,
i looked for other javamail libs in my JBoss dir: found nothing but the only mail.jar located in server/default/lib/ (provided by default installation). I tried to specify the classpath into mail-service.xml without success.
I also noticed that when JBoss starts, logs print "DEBUG: JavaMail version 1.3.1 " while the MANIFEST.MF inside my mail.jar contains "Implementation-Version: 1.4".
My JBoss version is 4.0.4 GA. Any idea?!? -
Java.lang.NoSuchMethodError: getEncodedURL when running junits for webservi
Hi,
We are getting NosuchMethodError when we are trying to run the junits for the webservice clients through ant script.But when we are executing the same junits through weblogic workshop, junits are running finely.Please let me know, if any one knows the solution
Exception:
Caused an ERROR
getEncodedURL
java.lang.NoSuchMethodError: getEncodedURL
at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:44)
at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)
at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)
at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:305)
at weblogic.wsee.jaxws.framework.jaxrpc.client.ClientEnvironmentFactory.getWsdlDef(ClientEnvironmentFactory.java:156)
at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.getService(EnvironmentFactory.java:393)
at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.buildDeploymentContext(EnvironmentFactory.java:581)
at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.getDeploymentContext(EnvironmentFactory.java:570)
at weblogic.wsee.jaxws.framework.jaxrpc.TubelineDeploymentListener.createClient(TubelineDeploymentListener.java:48)
at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:46)
at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:446)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:639)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:342)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:324)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306)
at javax.xml.ws.Service.getPort(Service.java:92)Hi,
This is the problem with the jaxws-rt.jar in my classpath.I have removed the jar from the class path then it started working
culprit here is ‘com.sun.xml.ws.util. JAXWSUtils’ which is defined in jaxws.rt.<version>.jar. Weblogic 10 uses glassfish.jaxws.rt_2.1.3.jar.
Could you please check in (ANT) classpath where in any other jaxws.rt.jar being referred which may not have ‘getEncodedURL’ method definition -
Java.lang.NoSuchMethodError: main, only when I run project, not file
When I am running my project to test it I am getting the following error message.
Exception in thread "main" java.lang.NoSuchMethodError: main
I have checked all the files are in the corrcet place, and all called what the class is called, which they are, I do not know where else to look. And I have to hjand this in is a week and a half!!!
Also, the error only happens when I run the PROJECT and not when I run the file on its own. Below is the code. Does anyone have any ideas to help me?
public class ToolList
private Tool[] toolArray;
public ToolList()
toolArray = new Tool[100];
for (int i=0;i<toolArray.length;i++)
toolArray=null;
}//end toolList default constructor
public boolean addTool (Tool toolIn)
for (int i=0;i<toolArray.length;i++)
if (toolArray[i]==null)
toolArray[i]=toolIn;
return true;
return false;
public static void main(String args[])
Tool Hammer = new Tool("Hammer","H0001",16.45F);
ToolList tl1 = new ToolList();
if (tl1.addTool(Hammer) ) System.out.println("Tool added");
Thanks
Java Chick :)Thanks all!
"Java has no concept of a 'project' so I assume that you are using an IDE for development. Most IDEs have a 'project' concept and some means of defining the 'main' class for the 'project'. Which IDE are you using?
I am using JCreator V3 LE. I have many files set up, Tool.java, ToolList.java, Company.java, Customer.java and CustomerList.java.
At the moment I am just tesing each class as I go and adding Main to the bottom of the classs I am testing.
but, as this one has an array that refers to other objects I thought I had to create this in a seperate file and run the group of files together.
"James 91 - Environment Variables"
When I check the class path I see the following:
C:\Program Files\Xinox Software\JCreatorV3 LE\MyProjects\Main Project\classes;C:\Program Files\Java\jdk1.5.0\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0\lib\dt.jar;C:\Program Files\Java\jdk1.5.0\lib\tools.jar;C:\Program Files\Java\jdk1.5.0\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.5.0\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.5.0\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.5.0\jre\lib\ext\sunpkcs11.jar
Should I change this to C\Program Files\Java\jdk1.5.0\lib\tools.jar
Thanks
Java Chick. -
Error when starting Enterprise Manager: java.lang.NoSuchMethodError
Hi,
When trying to access the EM i got Error 404--Not Found, so i went to start EM manually but i'm getting this error when trying to start the EM in weblogic 10.3.6 on Windows 7 64 bits:
####<12-10-2012 09:47:02 AM CST> <Warning> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001d1> <1355154422239> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.getLevel()Lorg/apache/log4j/Level;What should i do to solve this ?? :(
Regards
CarlosAt the admin console the error shown is the one from the warning, the error from log is:
####<12-10-2012 09:47:02 AM CST> <Error> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001c8> <1355154422236> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'em'.>
####<12-10-2012 09:47:02 AM CST> <Warning> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001d1> <1355154422238> <BEA-149004> <Failures were detected while initiating start task for application 'em'.>
####<12-10-2012 09:47:02 AM CST> <Warning> <Deployer> <Carlos-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <28c4d4e1e4b85327:42e7543a:13b85623d16:-8000-00000000000001d1> <1355154422239> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.getLevel()Lorg/apache/log4j/Level;
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:215)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:190)
at org.apache.log4j.Category.forcedLog(Category.java:375)
at org.apache.log4j.Category.log(Category.java:838)
at oracle.sysman.util.logging.ApacheLogOperations.logp(ApacheLogOperations.java:251)
at oracle.sysman.util.logging.DualModeLogOperations.logp(DualModeLogOperations.java:244)
at oracle.sysman.emSDK.util.logging.Logger.logp(Logger.java:1104)
at oracle.sysman.emSDK.util.logging.Logger.log(Logger.java:810)
at oracle.sysman.util.logging.log4j.Log4jLogger.log(Log4jLogger.java:145)
at oracle.sysman.util.logging.log4j.Log4jLogger.debug(Log4jLogger.java:83)
at oracle.sysman.eml.app.ContextInitializer.storeOmsAdminOp(ContextInitializer.java:1727)
at oracle.sysman.eml.app.ContextInitializer.contextInitialized(ContextInitializer.java:1153)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) -
Java.lang.NoSuchMethodError error when ODI sends mesages to Apache activemq
Hi Team,
I am struggling with the configuration of ODI and activemq. I really appreciate if someone could suggest me what is missing in my configuration.
Topology: JMS Queue
Data Server: JMS_QUEUE_TRACKER
JNDI:
JNDI Authentification: Simple
JNDI USER, PASSWORD and JNDI Protocol are all empty
JNDI driver: org.apache.activemq.jndi.ActiveMQInitialContextFactory
JNDI Url: tcp://11.111.1.111:61616
JNDI Resource: ConnectionFactory
Tested connection: PASS
Created physical schema and context and logic schema, saved.
Model: JMS_QUEUE
Code: JMS_QUEUE
Technology: JMS Queue
Logical Schema JMS_QUEUE_TRACKER
Datastore: ODI JMS
Datastore Type: Table
Resource Name: dynamicQueues/example.A
Files tab: File Format: fixed
Record Separator: MS-DOS
Field Separator: Space
Columns tab: Add one column DATA string length 50
Interface: Interface testjms
use IKM: IKM SQL to JMS Append, migrate one column of oracle table to the queue(Datastore: ODI JMS)
Copied activemq-all-5.5.0.jar, geronimo-jms_1.1_spec-1.1.1.jar, slf4j-log4j12-1.5.11.jar and log4j-1.2.14.jar to $ODI/oracledi/agent/drivers, restart the standalone agent.
run interface Interface testjms by standalone agent.
The error message is:
ODI-1217: Session INTERFACE TESTJMS (787001) fails with return code 7000.
ODI-1226: Step INTERFACE TESTJMS fails after 1 attempt(s).
ODI-1240: Flow INTERFACE TESTJMS fails while performing a Integration operation. This flow loads target table ODI JMS.
Caused By: java.lang.NoSuchMethodError: org.apache.activemq.ActiveMQMessageProducerSupport.getDestination()Ljavax/jms/Destination;
at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:269)
at com.sunopsis.jdbc.driver.JMSQueueConnection.treatInsertedRow(JMSQueueConnection.java:1102)
at com.sunopsis.jdbc.driver.FileSnpsTableFix.insertRow(FileSnpsTableFix.java:153)
at com.sunopsis.jdbc.driver.SnpsDriverPreparedStatement.executeUpdate(SnpsDriverPreparedStatement.java:156)
at com.sunopsis.jdbc.driver.SnpsDriverPreparedStatement.execute(SnpsDriverPreparedStatement.java:116)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.BatchSQLCommand.execute(BatchSQLCommand.java:49)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
I seems I have put all necessary libs in the path but I am very confused why I still meet this error.
Thanks so much for your kind help
PeiranHi
Hope below URL may helps your problem, because it has similar kind of error message.
URL: Issue while running a scenario while using TTU in ODI
Regards,
Phanikanth -
Java.lang.NoSuchMethodError: init when running in a Thread
I have a Java class that calls a C++ function (JNI) and the return of that function is a Java object:
There�s the problematic C++ code:
jclass taskDescriptorClass = env->FindClass("a/b/TaskDescriptor");
if (taskDescriptorClass == NULL) {
//Class cannot be found
return NULL;
jmethodID constructorMID = env->GetMethodID(taskDescriptorClass, "<init>", "void(V)");
if (constructorMID == NULL) {
return NULL;
}This code as always behaved as expected, running in a JUnit test. But now I�m calling the code inside a thread (new Thread(new Runnable() { public void run() { ...NATIVE CALL...), but now I�m getting an exception:
Exception in thread "thrd1" java.lang.NoSuchMethodError: <init>
at a.b.JTLs.createTask(Native Method)
at a.b.GrammarBuilder.build(GrammarBuilder.java:216)
at a.b.GrammarManager.getModel(GrammarManager.java:230)
at a.b.GrammarManager.getModel(GrammarManager.java:146)
at a.b.TestGrammarManager$1.run(TestGrammarManager.java:58)
at java.lang.Thread.run(Thread.java:595) I�m using J2SE 5 update 06
Does anyone know why is this happening?
ThanksHi,
This is the problem with the jaxws-rt.jar in my classpath.I have removed the jar from the class path then it started working
culprit here is ‘com.sun.xml.ws.util. JAXWSUtils’ which is defined in jaxws.rt.<version>.jar. Weblogic 10 uses glassfish.jaxws.rt_2.1.3.jar.
Could you please check in (ANT) classpath where in any other jaxws.rt.jar being referred which may not have ‘getEncodedURL’ method definition
Maybe you are looking for
-
Dear All i've configured free goods sale(samples) which are excisable.wherein we don't collect excise from customer. but, as per the configuration,from commercial invoice the accounting entries are 1.)customer account - debit(RS:266.76) 2.)Gross sale
-
Checklist for Citrix to be used for BPC 7.0 MS
Hi, We're currently using BPC 7.0 MS We're planning to use citrix to publish bpc, but we're not sure what version of citrix to go for. as such, the details of the required citrix version is unknown as well. If someone has worked with citrix an
-
Hi everyone, I am trying to change the default port of APEX to port 80. I performed all the steps described in the documentation or in this thread HTMLDB Port Number but I am getting the following error when trying to start the HTTP Server from oracl
-
Hi Any idea where can I extract out the exchange rate other then EKKO, as I'm in the mid of creating my own PO report. I would like the exchange rate to be captured in the LIV instead of the PO. Any idea?
-
How to remove ABMultiValueCreateMutable warning
Hello all, I am add label for emaiaddress,address,etc.It is work or Home label in iPhone simulator contacts. I write ABMutableMultiValueRef multiValue = ABMultiValueCreateMutable(kABHomeLabel); It create label but, It give me warnig:passing argument