(no subject)

Ronald Klop ronald-freebsd8 at klop.yi.org
Wed Dec 30 19:41:37 UTC 2009


On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen <jonc at chen.org.nz> wrote:

> On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote:
>>
>> I can't get jboss5 to install from ports on a FreeBSD 8.0 installation
>> - a friend reports the same.  Anything I can do to get this working?
>> I think this was working ok on 7.2...
>>
>> bsd# cd /usr/ports/java/jboss5
>> bsd# make clean
>> ===>  Cleaning for jboss-5.1.0.GA_1,1
>> bsd# make install clean
>> ===>  Extracting for jboss-5.1.0.GA_1,1
>> => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
>> => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
>> ===>  Patching for jboss-5.1.0.GA_1,1
>> ===>   jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java  
>> - found
> [...]
>> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98:  
>> cannot find symbol
>> symbol  : method  
>> marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File)
>> location: interface javax.xml.bind.Marshaller
>>       marshaller.marshal(metadata, metadataStore);
>>                 ^
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 1 error
>> 8 warnings
>
> Did you make any changes to your JDK 1.6 installation? eg: putting
> stuff into the endoresed directories?
>
> Cheers.

The API of some xml stuff changed between revisions of java6. At work I  
need the openjdk6 port to compile everything, because colleges use newer  
java versions than the current jdk16 port is.
I don't have the details here right now, but I recommend you to install  
openjdk6 and try again.

Ronald.


More information about the freebsd-java mailing list