RMI Binding Error
When I am trying to run my code, the following error is being displayed
Starting Sever...
Binding...
Error: java.rmi.ConnectException: Connection refused to host: 169.254.135.47; nested exception is:
java.net.ConnectException: Connection refused: connect
Anybody kindly help me out of this problem.
Thnx anyway...got the answer from
http://forum.java.sun.com/thread.jspa?threadID=710602&tstart=165
Similar Messages
-
Java.rmi.UnmarshalException: error unmarshalling arguments;
Hi!
I'm a newbe with rmi, and I try to use a test program, from Thinking in Java:
ITiempoPerfecto.java
package c15.rmi;
import java.rmi.*;
interface ITiempoPerfecto extends Remote {
long obtenerTiempoPerfecto() throws RemoteException;
TiempoPerfecto.java
package c15.rmi;
import java.rmi.*;
import java.rmi.server.*;
import java.rmi.registry.*;
import java.net.*;
public class TiempoPerfecto extends UnicastRemoteObject implements ITiempoPerfecto {
public long obtenerTiempoPerfecto () throws RemoteException {
return System.currentTimeMillis();
public TiempoPerfecto() throws RemoteException {
super();
public static void main(String[] args) throws Exception {
System.setSecurityManager(new RMISecurityManager());
TiempoPerfecto tp=new TiempoPerfecto();
Naming.bind("//localhost/TiempoPerfecto",tp);
System.out.println("Preparado para dar la hora");
}and
MostrarTiempoPerfecto.java
package c15.rmi;
import java.rmi.*;
import java.rmi.registry.*;
public class MostrarTiempoPerfecto {
public static void main(String[] args) throws Exception {
System.setSecurityManager( new RMISecurityManager());
ITiempoPerfecto t=(ITiempoPerfecto)Naming.lookup("//localhost/TiempoPerfecto");
for (int i=0;i<10;i++)
System.out.println("Tiempo perfecto: "+t.obtenerTiempoPerfecto());
}I compile all the files normally.
Later I do:
rmiregistry &
rmic c15.rmi.TiempoPerfecto(This only generate the file TiempoPerfecto_Stub.class, it's ok?)
Without warnings or errors. But when I try to create a server object
java c15/rmi/TiempoPerfectoI obtain this:
Exception in thread "main" java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: c15.rmi.TiempoPerfecto_Stub
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
.......What is the mistake? What may I do to run this programs?
Thank you!You must change your current directory to your class path (EX: java c15/rmi/TiempoPerfecto) then execute command remiregistry.
-
solved it!
wheeewwww i dont know why but im sure i've used the option of forward slash before.
continuation of the problems below.....
hi!
i've been trying to debug this auto downloading of Stub or classes, but i cant see what's wrong with the code that it cant see the stub... here's the code
import java.rmi.Naming;
import java.rmi.RMISecurityManager;
import classServer.ClassFileServer;
import java.io.IOException;
public class ProcessServer{
private static ClassFileServer cfs = null;
public static void main(String[] args){
setOptions();
//startHTTP();
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
try{
System.out.println("Starting server...");
Process p = new ProcessImpl("tuaman");
//String host = "rmi://localhost/TProcess";
//Naming.rebind(host, p);
String url = "TProcess";
Naming.rebind(url, p);
System.out.println("RMI binded...");
}catch(Exception e) {System.out.println("Error creating server..." + e);}
private static void setOptions(){
System.setProperty("java.rmi.server.codebase", "file:/C:\\Restua\\temp\\rmi\\/");
System.setProperty("java.security.policy", "java.policy");
private static void startHTTP(){
String loc = "C:\\Restua\\temp\\rmi";
try {
cfs = new ClassFileServer(2001, loc);
}catch(IOException io){ System.out.println("err cfs : " + io);}
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.net.MalformedURLException;
import java.rmi.NotBoundException;
import java.rmi.RMISecurityManager;
public class ProcessClient {
public static void main(String[] args) {
setOptions();
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
try {
//String url = "rmi://localhost/TProcess";
String url = "TProcess";
Process p = (Process)
Naming.lookup(url);
System.out.println( p.getDescription() );
catch(Exception e){
System.out.println("Exception all.");
public static void setOptions(){
System.setProperty("java.rmi.server.codebase", "file:/C:\\Restua\\temp\\rmi\\/");
System.setProperty("java.security.policy", "java.policy");
} thanks again =)
--my previous post.....
hi!
I'm tying to run an RMI, on the tutorial it says run the service, with the classpath, here's my setup
C:\Restua\temp\rmi>dir
Volume in drive C has no label.
Volume Serial Number is D805-23B8
Directory of C:\Restua\temp\rmi
07/31/2006 11:38 AM <DIR> .
07/31/2006 11:38 AM <DIR> ..
07/31/2006 11:07 AM 219 Process.class
07/31/2006 11:07 AM 162 Process.java
07/31/2006 11:22 AM 1,099 ProcessClient.class
07/31/2006 11:21 AM 1,344 ProcessClient.java
07/31/2006 11:13 AM 608 ProcessImpl.class
07/31/2006 11:12 AM 460 ProcessImpl.java
07/31/2006 11:27 AM 1,649 ProcessImpl_Stub.class
07/31/2006 11:37 AM 913 ProcessServer.class
07/31/2006 11:37 AM 415 ProcessServer.java
9 File(s) 6,869 bytes
2 Dir(s) 16,828,911,616 bytes free
C:\Restua\temp\rmi>here's the content of the class...
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Process extends Remote{
String getDescription() throws RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.rmi.RemoteException;
public class ProcessImpl extends UnicastRemoteObject
implements Process{
private String desc;
public ProcessImpl(String d) throws RemoteException{
super();
desc = d;
public String getDescription() throws RemoteException{
return "I am " + desc;
import java.rmi.Naming;
public class ProcessServer{
public static void main(String[] args){
try{
System.out.println("Starting server...");
Process p = new ProcessImpl("tuaman");
Naming.rebind("rmi://localhost/1099/TProcess", p);
}catch(Exception e) {System.out.println("Error creating server..." + e);}
}i opened a command windom ran rmiregistry on it, then on the other shell i ran this...
C:\Restua\temp\rmi>java -classpath . ProcessServer
Starting server...
Error creating server...java.rmi.ServerException: RemoteException occurred in se
rver thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.lang.ClassNotFoundException: ProcessImpl_Stubeven with a java ProcessServer that error occurs, what could be wrong? Why cant it locate the Stub? Thank you so much again Sir/Mam =)
updates....
it works fine now =) made a security or policy file, then added a security manager =)
import java.rmi.Naming;
import java.rmi.RMISecurityManager;
public class ProcessServer{
public static void main(String[] args){
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
try{
System.out.println("Starting server...");
Process p = new ProcessImpl("tuaman");
String host = "rmi://localhost/TProcess";
Naming.rebind(host, p);
System.out.println("RMI binded...");
}catch(Exception e) {System.out.println("Error creating server..." + e);}
}Message was edited by:
tuaman
Message was edited by:
tuaman
Message was edited by:
tuaman
Message was edited by:
tuamanYou have a mixture of GNU java and Sun Java installed. Get rid of the former.
-
Report Designer - Binding Error
Hi Guys,
I am trying to use the report designer to build some reports. When I assign any dataprovider to my report - query/query view, I am getting an error "Binding Error for Characteristics"/"Binding Error for Key Figures". Can you please let me know if someone has faced this error and what can be the possible resolution. This is kind of urgent because none of the queries seem to work. We are on SPS 9 which I know is not the best.
Thanks,
Pratik.is it an DROPDOWN you trying to add dataprovider??
Hope it Helps
Chetan
@CP.. -
I have created a banded report split into departments. Each
recore has a value associated with it. The report runs fine if I
dont try to sub-total each departments vale, but if I add a
calculated field to the banding, I get the following error:
Report data binding error Error evaluating expression :
textField_2 Source text : calc.Department_Total.
Variable calc.Department_Total is undefined.
The calculated field is simply the sum of the values, with an
initial value of 0 and set to reset when the group changes on the
department. I am using the same data type for the calc field as it
automatically gave for the original Value field (Big Decimal)
Any ideas?
Dave HDoes anyone have any ideas about this, Its getting a bit
critical now. Has anyone else been able to do sums that calculate
on group changes?? The sum total works for the report, jusyt not
the bands. I desparate here, pulling my hair out.
Regards
Dave H -
Unable to find information on WS data binding error on WLS 9.2.03 startup
Frustratingly, when I Google for "WS data binding error" I get 'old' links to BEA forum issues which may help but these are nowhere to be seen on the read-only copies now on Oracle forums here :- http://forums.oracle.com/forums/category.jspa?categoryID=202.
The link I'm looking for is:-
forums.bea.com/thread.jspa?threadID=600017135
Is there anywhere I can get access to this information or should I just post new items on the new WLS forum?
Many thanks.
p.s. the errors I am trying to research are as follows:-
<WS data binding error>could not find schema type '{http://xmlns.oracle.com/apps/otm}Transmission
<WS data binding error>Ignoring element declaration {http://xmlns.oracle.com/apps/otm}Transmission because there is no entry for its type in the JAXRPC mapping file.Check this..
http://docs.oracle.com/cd/E10291_01/doc.1013/e10538/weblogic.htm
you can ignore those warnings
The following data type binding warnings and errors are displayed during deployment and start of Decision Service (Business Rules) Applications. These errors and warnings can be ignored.
<WS data binding error>could not find schema type '{http://www.w3.org/2001/XMLSchema}NCName
<WS data binding error>could not find schema type
'{http://websphere.ibm.com/webservices/}SOAPElement
java.lang.IllegalStateException
at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder$GlobalElementNode.
getSchemaProperty(AnonymousTypeFinder.java:253) -
WSIF Binding Error while invoking HTTP Service
Hi,
I am getting a WSIF binding error when invoking an HTTP service. I was able to successfully invoke another HTTP service on the same server. However, while invoking some of the others services, we are getting errors. The wsdl binding declaration is:
<binding name="JACADACustMaintBinding" type="tns:JACADACustMaintPortType">
<http:binding verb="POST"/>
<operation name="PostData">
<http:operation location="/custmaint.cfg"/>
<input>
<mime:mimeXml part="CustMaintInput"/>
<mime:content type="text/xml"/>
</input>
<output>
<mime:mimeXml part="CustMaintOutput"/>
<mime:content type="text/xml"/>
</output>
</operation>
</binding>
The error we are getting is as follows:
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=[email protected] : Could not invoke 'PostData'; nested exception is:
java.lang.Exception: Error in HTTP Post: Status 500: Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0: <html><head><title>Apache Tomcat/4.1.18 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 500 - Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0</h1><HR size="1" noshade><p><b>type</b> Status report</p><p><b>message</b> <u>Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0</u></p><p><b>description</b> <u>The server encountered an internal error (Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0) that prevented it from fulfilling this request.</u></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18</h3></body></html>
,detail=java.lang.Exception: Error in HTTP Post: Status 500: Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0: <html><head><title>Apache Tomcat/4.1.18 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 500 - Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0</h1><HR size="1" noshade><p><b>type</b> Status report</p><p><b>message</b> <u>Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0</u></p><p><b>description</b> <u>The server encountered an internal error (Unable to invoke service method: com.jacada.ea.jclient3.JClient3Exception: com.jacada.ea.jclient3.JClient3Exception:Negative response from server, response code: 110. Message from server: com.jacada.ea.jservice.JServiceException: Could not set input parameter: InVar_0) that prevented it from fulfilling this request.</u></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18</h3></body></html>
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:617)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:437)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:826)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:402)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1087)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:133)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:162)
at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:547)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:464)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:133)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Request you all to provide inputs.
Thanks and Regards.
JohnHi,
Using the exact same wsdl i was able to get a response from the HTTP service using OSB. I created a business service targeting this wsdl. Then created a proxy service to route the xml to the business service.
I was able to successfully invoke and get response from the HTTP service without making any change to the wsdl.
Could this be a bug in BPEL PM? Should I raise an SR? -
Binding Error when creating a new publication
Hi i am fairly new to replication.
My situation is that I dropped replication using the script that was generated from the publication.
When I go through the publication wizard I get a error message on the first page
'New publication Wizard encountered one or more errors while retrieving the list of databases on "my computer"
Invaliud object name 'Tracker_Repl.dbo.MSreplication_Subscriptions'
Could not use view or function 'dbo.MSreplication_Subscriptions'becasue of binding errors.
I can not find this subscription and there is nothing in the system file tables.
When you expand the Local subscriptions I get the same error message.
How do I go about fixing this?
RegardsSomething I messed up here. You should run a sp_removedbreplication from the publication database before doing what Samir suggest. What Samir suggests will work, but it will break any existing publications which may be ok, and may be a very bad thing to
do.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941 -
RemoteException: 111 java.rmi.ServerError: Error occurred in server thread
Hi,
I'm just new to the RMI field of JAVA. I'm trying to write a program that import the math.jar file in the server side. And the client end can invoke the methods of math.jar and get the value.
I got the error messages as below:
RemoteException: 111 java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoClassDefFoundError: org/mathwhizz/Heron
It can work well if I use source classes(*.class) directly instead of importing math.jar. The failure only happened when I try to make use of jar file. Thus I guess my setup and configuration should be ok. Is there anything I should be very careful if I try to run RMI and import a jar file in the program of server side ?
Do I need to use JNLP and web start application in this issue?
I'm appreciated for your responses...thanks...
Sincerely,
BrandonI've got a problem with rmi, when I launch my server, I have this error:
Erreur du remote: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.NoClassDefFoundError: com/borland/dx/dataset/DataSetData
Help me please
Thank you -
Report data binding error unknown column name
Hi,
I am having a problem with the new 7.02 update of Report
Builder. The issue is it's not finding my SQL query.
I have wrote my query initally in the advance mode, and it
doesn't seem to reconize it. Is there an issue with this?
I did manage to fix one of my reports by using the basic mode
and selecting all my tables and seting my linkage and criteria.
I have other computers that i have not updated to 7.02 and
they do not have this issue. Below is the error:
Error Occurred While Processing Request
Report data binding error Unknown column name : work_phone.
Please try the following:
Check the ColdFusion documentation to verify that you are
using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referrer
Date/Time 13-Jul-06 02:33 PM
Stack Trace (click to expand)
coldfusion.runtime.report.Report$ReportDataBindingException:
Report data binding error Unknown column name : work_phone.
at
coldfusion.runtime.report.Report.runReport(Report.java:420)
at
coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
This report works in 7.01. So all query variables match with
a variable in the SQL select statement.
Anyone have any Ideas??
Thanks,
DanielThank you very much for help.
The "Unknown column name " is a field still used in my
report, so I can't remove it.
After I clear the query in the report and reopen the report
and apply the same query back to it, I get different error message:
Element TASKNUM is undefined in QUERY.
The error occurred in : line 1
-1 : Unable to display error's location in a CFML template.
I know for sure this "Element TASKNUM is undefined in QUERY."
is defined in query. each time it complains something different. I
get really confused.
Thanks again.
Yueming -
Report data binding error with date values
I have CF7.02 with a Microsoft Visual FoxPro 9.0 SP1 Database
that I connect to using ODBC (FoxPro Driver 6.01.8630.01). I send
my sql results to a CF Report Builder 7.02 PDF report and it works
fine. If I dump the date values before I change them, they look
like the following: {ts '2004-12-20 00:00:00'} . However I have
tried a number of ways of manipulating the date before sending it
to the report, but I continue to get errors. I don't care what
format they go to the report in, since the report reformats them
anyway. I checked to make sure that none of the dates were null.
For example <cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDateTime(#ldCFPrcInputDate#) /> yields values in the
{ts '2004-12-20 00:00:00'} format when I dump the query results to
screen. Where:
ldCFPrcInputDate = 12/20/2004
CreateODBCDateTime(ldCFPrcInputDate) = {ts '2004-12-20
00:00:00'}
ReportQuery.PrcInputDate[lcCurRow] = {ts '2004-12-20
00:00:00'}
I get the error:
Report data binding error Unable to get value for field
'prcinputdate' of class 'java.util.Date'.
coldfusion.runtime.OleDateTime -> Date
Not using the CreateODBCDate function for example <cfset
ReportQuery.PrcInputDate[lcCurRow] = #ldCFPrcInputDate# /> I
get:
Report data binding error Unable to get value for field
'prcinputdate' of class 'java.util.Date'.
java.lang.String -> Date
Here are some of my failed attempts:
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDateTime(#ldCFPrcInputDate#) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
#ldCFPrcInputDate# />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
DateFormat(CreateODBCDate(#ldCFPrcInputDate#),'mm/dd/yyyy') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm/dd/yyyy') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm-dd-yyyy') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
Trim(createODBCDateTime(ldtmpdate)) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate({05-07-2006}) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate('{05-07-2006}') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(05/07/2006) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate('05/07/2006')/>
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(parseDateTime('05/07/2006')) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
parseDateTime(CreateODBCDateTime(05/07/2006)) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
parseDateTime(CreateODBCDateTime('#ldCFPrcInputDate#')) />
<cfset ReportQuery.PrcInputDate[lcCurRow] = '{05-07-2006}'
/>
<cfset ReportQuery.PrcInputDate[lcCurRow] = '{05/07/2006}'
/>
<cfset ReportQuery.PrcInputDate[lcCurRow] = '05/07/2006'
/>
I also did some googling without success. Any help is
appreciated.You may want to make sure that the column is not included in
the query variable list in your report cfr file.
The newest version of the Report Builder, which may be
installed on the server, no longer tolerates vars appearing in that
list of they are not in the query itselft. -
Late Binding Error on CreateGraphics in DLL
I have a DLL that is a very basic image management library. To draw graphics I am using the following subroutine:
Public Sub DrawImage(ByVal Surface As Object, ByVal Name As String, ByVal Position As Point, Optional Size As Point = Nothing)
Try
If Images.ContainsKey(Name) Then
Dim g As Graphics = Surface.CreateGraphics
If Size.IsEmpty Then
g.DrawImage(Images(Name), Position)
Else
g.DrawImage(Images(Name), New Rectangle(Position.X, Position.Y, Size.X, Size.Y))
End If
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Object passed as the surface is a PictureBox on the main form so that the image is drawn in the PictureBox. It all works perfectly except when I try to use Option Strict On (which is my preference) in the DLL. When I do this the Surface.CreateGraphics
line gives me a late binding error. I am very new to coding and have not been able to figure out a solution. When similar errors have occurred I have been able to use DirectCast() to remove the error. For my current situation I do not know
how to apply the cast, if it is even possible. Any help or suggestions?Hi,
You should be doing this one of two ways. One is to declare Surface as a Graphics type in the sub like below. This is the way i would recommend doing it.
You will also notice that the last parameter is not Optional any more and is renamed to something other than Size and is changed to a Size Type. The name Size is the name of the Drawing Size structure so you need to use a different name. Also because
an Optional parameter is not able to use a Structure type which Size is, it can`t be Optional.
You will also notice i changed the name of your sub to DrawMyImage. You really need to choose names that are not used for Classes, properties, and methods already. The DrawImage name is already used by the Graphics class.
Public Sub DrawMyImage(ByVal Surface As Graphics, ByVal Name As String, ByVal Position As Point, ByVal DrawSize As Size)
Try
If Images.ContainsKey(Name) Then
'Dim g As Graphics = Surface.CreateGraphics
If Size.IsEmpty Then
Surface.DrawImage(Images(Name), Position)
Else
Surface.DrawImage(Images(Name), New Rectangle(Position.X, Position.Y, DrawSize.Width, DrawSize.Height))
End If
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Then call your Function from within the PictureBox`s Paint event in the Form like this
Public Class Form1
Private DrawingClass As New NameOfYourClass
Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint
Dim SomeLocation As New Point(10, 10)
Dim SomeSize As New Size(100, 90)
DrawingClass.DrawMyImage(e.Graphics, "Some Image Name", SomeLocation, SomeSize)
End Sub
End Class
The other way would be to make the Surface parameter a PictureBox type and pass the PictureBox to the sub. I would also recommend not using the CreateGraphics method. If you really must do it like this then at least creat the graphics
in a Using End Using block. A Graphics Object needs to be Disposed when you are done using it and this will take care of that for you.
Public Sub DrawMyImage(ByVal Surface As PictureBox, ByVal Name As String, ByVal Position As Point, ByVal DrawSize As Size)
Try
If Images.ContainsKey(Name) Then
Using g As Graphics = Graphics.FromHwnd(Surface.Handle)
If Size.IsEmpty Then
g.DrawImage(Images(Name), Position)
Else
g.DrawImage(Images(Name), New Rectangle(Position.X, Position.Y, DrawSize.Width, DrawSize.Height))
End If
End Using
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Then you can call your sub from other places in the form than the Paint event like this. However, this will not be persistent doing it like this. Meaning if you draw the image and then move the form off the side of the screen, cover it with another form,
or minimize it the image will be erased and not be redrawn again until you call the sub again.
Public Class Form1
Private DrawingClass As New NameOfYourClass
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim SomeLocation As New Point(10, 10)
Dim SomeSize As New Size(100, 90)
DrawingClass.DrawImage(PictureBox1, "Some Image Name", SomeLocation, SomeSize)
End Sub
End Class
If you say it can`t be done then i`ll try it -
New @ RMI need help with java.rmi.UnmarshalException: error unmarshalling
Hi @ all out there,
I'm new with Java RMI and have to write a EventSystem for an college project where clients can subscribe to a topic and get notified when someone publishes a message to the subscribed topic.
At server-side I have a class called EventSystem that provides methods for subscribing and unsubscribing from topics, and also for posting messages (for publishers).
To subscribe i thought that the client must specify the topic and also itself ( means that a client calls in this way: obj.subscribe("mytopic", this).
The EventSystem handles a list of all clients, and whenever a new message is posted it goes trough all clients and invokes the handleMessage(String msg) method that all Clients have to provide.
On my local machine without RMi this concept works just great.
I now tried to get it working using RMI , but I get the following Exception when starting the client (the server starts fine) :
Looking up for rmiregistry at 138.232.248.22:1099
Subscriber exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: SubscriberImpl; SubscriberImpl; class invalid for deserialization
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:336)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy0.subscribe(Unknown Source)
at SubscriberImpl.main(SubscriberImpl.java:48)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: SubscriberImpl; SubscriberImpl; class invalid for deserialization
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:293)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.InvalidClassException: SubscriberImpl; SubscriberImpl; class invalid for deserialization
at java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:713)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1733)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:290)
... 9 more
Caused by: java.io.InvalidClassException: SubscriberImpl; class invalid for deserialization
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:587)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
... 13 moreI googled now for 2 hours but can't resolve the problem alone. As far as I can understand I have to serialize Objects that I want to send to the server, right?
So how can i do this? I've never used serialization till now.
any ideas how to solve this problem?
greets from italy and sorry for my very weak english
bd_italyA class has been modified after deployment. Stop the Registry, clean, recompile, and redeploy.
-
JSP client in RMI system - java.rmi.UnmarshalException: error unmarshalling
Hi,
Im developing a login part for a distributed airline reservation system using JSP as the client but while executing the jsp, the error that is being catched is :
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
Here are my codes:
//Interface - Airline.java
package Air;
import java.rmi.*;
public interface Airline extends Remote
public int CheckUname(String username) throws RemoteException;
}//implementation - AirlineImpl.java
import java.net.*;
import java.io.*;
import java.sql.*;
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class AirlineImpl extends UnicastRemoteObject implements Airline
public AirlineImpl() throws RemoteException
super();
public int CheckUname(String username) throws RemoteException
try
int UnameCount = 0;
String xxx = "eaglebeta";
if(username.equals(xxx)
UnameCount++;
return UnameCount;
catch (Exception e3)
System.out.println("Error: " + e3);
return 0;
}//Server - AirlineServer.java
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
public class AirlineServer
public static void main(String arg[])
try
Airline myAirline = new AirlineImpl();
Naming.rebind("Airline", myAirline);
System.out.println();
System.out.println("************************************");
System.out.println(" >>> Airline Reservation System <<< ");
System.out.println(" >>> Server is Listening! <<< ");
System.out.println("************************************");
System.out.println();
catch (RemoteException e)
//System.out.println("Error: " + e);
System.out.println("RMI Registry is not active!");
System.out.println("Activate RMI Registry and retry!");
System.out.println("Bye bye, exiting...");
catch (java.net.MalformedURLException e)
//System.out.println("URL Error: "+ e);
System.out.println("URL Malformed!");
System.out.println("Bye bye, exiting...");
}//JSP client - newuser.jsp
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.rmi.*, javax.servlet.*" %>
<%@ page import="java.util.*, java.lang.*, java.io.*, Air.Airline" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#99CCFF">
<%
Object Airline = null;
try
Airline Air = (Airline)Naming.lookup("rmi://localhost/Airline");
String Name = "eaglebeta";
if(Air.CheckUname(Name)>0)
%>
Username already exists, choose another name
<%
else
%>
<%=Name%>
<%
catch (Exception e1)
%>
<%=e1%>
<%
%>
</body>
</html>The server, implementation, interface and stub are in a folder named "Airline Server" located on my desktop.
The interface and stub again are in another folder named "Air" located in the "classes\Air" directory which is located in the tomcat 5.5 installation directory!
The JSP client is located in the "Root" folder in the tomcat 5.5 installation derectory!
1. I start the registry in the "Airline Server" folder by typing rmiregistry
2. Load the Airline Server - java AirlineServer
3. Call the jsp - http://localhost/newuser.jsp
And i get the following error:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: AirlineImpl_Stub (no security manager: RMI class loader disabled)
Please help me to solve this problem!When I am including security manager in my JSP code, the browser just get blank without any display
if(System.getSecurityManager() == null)
System.setProperty("java.security.policy", "java.policy");
System.setSecurityManager(new RMISecurityManager());
}Please, someone solve my problem! Im realy stuck and I don't know how to proceed! Provide me with a solution or any tutorial that would help me... -
Java.rmi.MarshalException: error marshalling arguments
I've two class Client and Main. Eventnotify is implemented in class Client using RMI techniques. Here is sample
public interface EventNotify extends Remote {
void SendNotification (String str) throws RemoteException;
public class Client implements EventNotify {
//implementation of EventNotify
public void SendNotification(String str) {
System.out.println("from srver: ..." +str);
class Main {
public static void main(String[] args) {
Client clnt = new Client();
int val = stub.register_client(host, clnt); //THE ERROR IS HERE
The idea is to pass remote objects from client to a server. I've a server program running continously, but the problem is on passing objects of type Client. I'm facing marshaling problem.
AND THE ERROR IS
Client exception: java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: Client
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: Client
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:156)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:195)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:149)
at $Proxy0.register_client(Unknown Source)
at Main.main(Client.java:74)
Thanks for helping.
Caused by: java.io.NotSerializableException: Client
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:292)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:151)Probably I have a similar problem while calling remote object's method with parameter looks like that :
public class ParamClass extends AbstractParamClass implements Runnable,
java.io.Serializable {
private NodeList field1; // part of crimson's tree
private NamedNodeMap field2 = null;// part of crimson's tree
public class RmiRemote extends AbstractRemote { // Remote Object Class
@Override
public Object remoteMethod1() throws RemoteException{
ParamClass param = new ParamClass("build with crimson");
CustomInterface stub = (CustomInterface) registry.lookup(name);
stub.callRemoteMethod(param); // exception here
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: org.apache.crimson.tree.AttributeSet
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)when I build param object with xerces - no exception occurs . Other methods of remote object doing well. Remote object extends AbstractRemote superclass derived from UnicastRemoteObject. How can I avoid this problem and call method with crimson's tree fields parameter?
Thank you.
Maybe you are looking for
-
I have doubt in Read statement
Hi All. I have doubt in Read statement .i need to convert following select statement as read statement .how can i change help me. IF p_field1 IS INITIAL AND p_field2 IS INITIAL AND p_field3 IS INITIAL AND p_field4 IS INITIAL AND
-
Same problem as previous people have posted....can't open any Libraries of iTunes because it says "it was made with a newer version"(7.6) I trashed 7.6 and downloaded 7.5. Still can't open iTunes. How an I open these files????? What can I get rid of
-
How to increase my JMSDestinationRuntimeMBeanConsumers Current ?
How to increase my JMSDestinationRuntimeMBean Consumers Current , I see JMSDestinationRuntimeMBean's Consumer current and Consumers High is 16 i need to increase this so that my messages are been accessed by more consumers in parallel and increas
-
Check with developer issues?
I just downloaded Lion tonight and so far I'm disapointed. Safari and iTunes works fine, but every other application doesn't. Mail, iCal, Address Book, Mac App Store all have a warning that says: (Insert App Name) Cannot be pend becuase of a proble
-
(PS CS 5 Ext unter Windows 7) Ich habe seit einiger Zeit das Problem, dass meine Bridge beim Verschieben von Dateien abstürzt. Ist dies ein allgemein bekanntes Problem, das sich eventuell sogar beheben ließe? Liegt es vielleicht an einem Update?