[JBoss Tools (users)] - Editors not shown first when an xhtml file is opened in the
by evdwaard2
When we open a xhtml file in the jboss html editor, the first time there isn't anything show, just a grey background.
The tabs at the bottom of the pane are shown, and if you click another tab the editor is shown and you can use all different edit modes.
We are running Eclipse on Windows Vista 64, and maybe this has something to do with it. When we copied the configuration to a Vista 32 bit machine, the problem went away.
It would be great if someone could point us in the right direction of where to continue our search!
Another hint may be that the settings pane for the visual editor also is blank after we used the editor once.
What we've tried so far (but did not succeed):
- update to nightly build of jboss tools
- searched the jira
- searched the forums
- edit the code ourselves
- tried running this eclipse configuration with JDK 5 (both 64 as 32 bit)
- tried setting another default editor
We use the following versions:
- Eclipse 3.3.1.1
- JBoss Tools 2.0.0.GA
- Java JDK6 64 bit
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113951#4113951
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113951
18 years, 4 months
[EJB 3.0] - Incompatibility between Jboss server versions?
by wandi
Incompatibility between Jboss server versions?
Hi guys, can anybody help-me with a problem?
I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I received an Exception...
Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local
class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150)
... 90 more
Caused by: java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID
2609262789016232311, local class serialVersionUID = 8310915813626447181
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654)
it Sounds incompatible!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113949#4113949
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113949
18 years, 4 months
[JNDI/Naming/Network] - Incompatibility between Jboss server versions?
by wandi
Incompatibility between Jboss server versions?
Hi guys, can anybody help-me with a problem?
I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I received an Exception...
Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local
class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150)
... 90 more
Caused by: java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID
2609262789016232311, local class serialVersionUID = 8310915813626447181
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654)
it Sounds incompatible!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113948#4113948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113948
18 years, 4 months
[EJB/JBoss] - Incompatibility between Jboss server versions?
by wandi
Hi guys, can anybody help-me with a problem?
I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I received an Exception...
Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local
class incompatible: stream classdesc serialVersionUID = 2609262789016232311, local class serialVersionUID = 8310915813626447181]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150)
... 90 more
Caused by: java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream classdesc serialVersionUID
2609262789016232311, local class serialVersionUID = 8310915813626447181
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654)
it Sounds incompatible!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113945#4113945
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113945
18 years, 4 months
[Installation, Configuration & DEPLOYMENT] - Deploy custom protocol handling class
by eg_jboss
Can there be more than one instance of a class implementing URLStreamHandlerFactory per Jboss JVM. Is there any way i can invoke/register this class at startup time. In weblogic I use -Dweblogic.net.http.URLStreamHandlerFactory=com.acme.protocol.handler.CustomProtocolUHandler
How do I make it work with Jboss
Thanks again.
package com.acme.protocol.handler;
import java.net.*;
//import java.util.*;
import sun.misc.*;
import com.rsa.ssl.*;
import java.io.File;
public class CustomProtocolHandler implements URLStreamHandlerFactory
{
public URLStreamHandler createURLStreamHandler(String protocol)
{
protocol = protocol.toLowerCase();
//We are also returning our handler for handling of dummy protocols like javascript: or about:blank
if(protocol.startsWith("myhttp"))
{
return m_protocolHandler;
}
else
{
return null;
}
}
public static void main(String[] args )
{
System.out.println("main Method called");
try
{
CustomProtocolHandler customProtocolURLStreamHandler = new CustomProtocolHandler();
java.net.URL.setURLStreamHandlerFactory(customProtocolURLStreamHandler);
}
catch(Exception e)
{
System.err.println("Exception while setting the URLStreamHandlerFactory object"+e );
}
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113942#4113942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113942
18 years, 4 months