This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
D:\JBoss\server\src\main\org\jboss\ejb\EjbModule.java:77: warning: unmappable character for encoding
Cp1250
* @author <a href="mailto:rickard.oberg@telkel.com">Rickard ├?┬ľberg</a>
^
D:\JBoss\server\src\main\org\jboss\ejb\EnterpriseContext.java:39: warning: [deprecation] java.securi
ty.Identity in java.security has been deprecated
import java.security.Identity;
^
D:\JBoss\server\src\main\org\jboss\deployment\EARDeployer.java:235: warning: [deprecation] toURL() i
n java.io.File has been deprecated
sub = new DeploymentInfo(f.toURL(), di, getServer());
^
D:\JBoss\server\src\main\org\jboss\ejb\plugins\cmp\jdbc\ByteArrayBlob.java:31: org.jboss.ejb.plugins
.cmp.jdbc.ByteArrayBlob is not abstract and does not override abstract method getBinaryStream(long,l
ong) in java.sql.Blob public final class ByteArrayBlob implements Blob
^
D:\JBoss\server\src\main\org\jboss\security\plugins\NoAccessSecurityManager.java:54: warning: [depre
cation] getActiveSubject() in org.jboss.security.AuthenticationManager has been deprecated
public Subject getActiveSubject()
^
D:\JBoss\server\src\main\org\jboss\security\plugins\NullSecurityManager.java:55: warning: [deprecati
on] getActiveSubject() in org.jboss.security.AuthenticationManager has been deprecated
public Subject getActiveSubject()
^
D:\JBoss\server\src\main\org\jboss\verifier\Main.java:76: warning: [deprecation] toURL() in java.io.
File has been deprecated
URL url = new File(args[0]).toURL();
^
D:\JBoss\server\src\main\org\jboss\web\AbstractWebContainer.java:308: warning: [deprecation] toURL()
in java.io.File has been deprecated
di.localUrl = expWarFile.toURL();
^
1 error
7 warnings
Can anybody help me?
I doubt I have to repair org.jboss.ejb.plugins.cmp.jdbc.ByteArrayBlob manually. Where is a mistake?
Hi, actually I have to use just this version as it's a part of the test task. I know, this version it's pretty old, but unfortunately need to use it and can't get over the error.
Jan Novak
Greenhorn
Joined: Jul 14, 2011
Posts: 3
posted
0
Peter Johnson wrote:Jan, welcome to Java Ranch!
1) Why did you using 4.0.3? That version is ancient. You should be using 6.0 or 7.0.
2) Why are you trying to build from source? And why did you download the source from svn instead of grabbing the source bundle on the downloads page?
3) Which JDK are you using? I don't recall if you need JDK 1.4.2 or JDK 5 to build it.
Switch JDK 6 to JDK 5 was very helpful thing for me. (eg. download from oracle archiv http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html#jdk-1.5.0_22-oth-JPR ).
By the way changing JVM on Ubuntu 10.10 was an horror as Ubuntu forces me to use Open JDK 6 any way. But when i found that there is symlink structure usr/bin/java -> /etc/alternatives/java_xx -> usr/lib/jvm/some_jdk/jre/bin/java, I have got a clue and just by manipulate with symlink in /etc/alternatives i was finally able to resolve the bug and task was being ready.