[Remoting] - Re: JBoss Remoting & JDK 6.0 situation deadlock
by fcorneli
The patch of jboss-remoting is quite simple. See:
http://jira.jboss.com/jira/browse/JBREM-659
I really don't get why this is taking so long for JBoss to tackle this issue (I know, a support contract would probably help). If JBoss feels like this is a Java6 bug, they could just call it a "work-around". (while actually everybody knows by now it's a bug :) )
| Index: ./src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java
| ===================================================================
| RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java,v
| retrieving revision 1.2.4.1
| diff -u -r1.2.4.1 ObjectInputStreamWithClassLoader.java
| --- ./src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java 11 May 2006 20:39:42 -0000 1.2.4.1
| +++ ./src/main/org/jboss/remoting/loading/ObjectInputStreamWithClassLoader.java 10 Jan 2007 14:18:32 -0000
| @@ -136,7 +136,8 @@
| // EJBTHREE-440
| try
| {
| - return cl.loadClass(v.getName());
| + // JBREM-659
| + return Class.forName(v.getName(), false, cl);
| }
| catch(ClassNotFoundException ex)
| {
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999984#3999984
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999984
19 years, 3 months
[JBoss Portal] - Building from source behind firewall
by sasdav
Boss Portal Version 2.4 sp1
Did you get Portal from CVS? or download it? download
JBoss AS Version 4.0.5
Database Vendor and Version MySQL 5.0
JDBC Connector and Version com.mysql.jdbc.Driver 5.0
OS Platform Windows XP sp2
JBOSS_HOME=D:\jboss-4.0.5.GA
I'm trying to build and deploy from source and I'm having two problems. When I try to build datasource in the core directory I get the following:
java.io.FileNotFoundException: D:\jboss-portal-2.4.1-src\core\..\thirdparty\libraries.ent (The system cannot find the file specified)
There is in fact no thirdparty directory in d:\jboss-portal-2.4.1-src
I created a portal-mysql-ds.xml file from what is shown in the docs and deployed it in JBOSS_HOME\server\default\deploy and it looks like JBoss is loading it all right so I move on. I change to the build directory and try build deploy and I get this:
D:\jboss-portal-2.4.1-src\build>build deploy
Executing D:\jboss-portal-2.4.1-src\build\..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger deploy
Buildfile: build.xml
createthirdparty:
[mkdir] Created dir: D:\jboss-portal-2.4.1-src\thirdparty\antlr
[get] Getting: http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml
[get] To: D:\jboss-portal-2.4.1-src\thirdparty\antlr\component-info.xml
[get] Error getting http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml to D:\jboss-portal-2.4.1-src\thirdpar
ty\antlr\component-info.xml
BUILD FAILED
D:\jboss-portal-2.4.1-src\build\build.xml:356: The following error occurred while executing this line:
D:\jboss-portal-2.4.1-src\build\build-thirdparty.xml:113: Unable to get remote file=D:\jboss-portal-2.4.1-src\thirdparty\antl
r\component-info.xml url=http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml
I'm behind a firewall so I need to set the http.proxyHost and http.proxyPort before the build process will be able to get the file, but where do I do this? I've tried adding it to the command line and to the ARGS option in build.bat but neither helps.
Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999978#3999978
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999978
19 years, 3 months