stefan 2003/11/05 03:14:50
Modified: proposals/jcrri build.xml
proposals/jcrri/work jcr.log
Added: proposals/jcrri ReadMe.txt
Removed: proposals/jcrri/lib/common jakarta-oro-2.0.6.jar
Log:
jcrri: misc. minor stuff
Revision Changes Path
1.2 +16 -2 jakarta-slide/proposals/jcrri/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-slide/proposals/jcrri/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.xml 1 Mar 2003 06:55:03 -0000 1.1
+++ build.xml 5 Nov 2003 11:14:50 -0000 1.2
@@ -5,8 +5,6 @@
<!-- =================================================================== -->
<target name="init">
<tstamp/>
- <property name="project.root" value="../../.." />
-
<path id="lib.jcr">
<fileset dir="./lib/common">
<include name="**/*.jar" />
@@ -48,6 +46,22 @@
<!-- Prepares the build directory -->
<!-- =================================================================== -->
<target name="prepare" depends="init">
+ <available classname="javax.transaction.xa.XAResource"
property="jta.present">
+ <classpath>
+ <pathelement path="${classpath}"/>
+ <pathelement path="${lib.path}"/>
+ </classpath>
+ </available>
+ <fail message="Java Transaction API (jta.jar) required for build"
unless="jta.present"/>
+
+ <available file="mail.jar" property="mail.present">
+ <filepath>
+ <pathelement path="${classpath}"/>
+ <pathelement path="${lib.path}"/>
+ </filepath>
+ </available>
+ <fail message="JavaMail API (mail.jar) required for build"
unless="mail.present"/>
+
<mkdir dir="${build.classes}"/>
<mkdir dir="${build.lib}"/>
</target>
1.1 jakarta-slide/proposals/jcrri/ReadMe.txt
Index: ReadMe.txt
===================================================================
This directory contains the JCR Reference Implementation proposal.
The directories contained:
build/classes The destination for the compiled Java classes
build/lib The destination for archived Java classes
src The directory containing Java source files
lib Support/third party libraries used to build
classes from the source files
bin Start-script for the sample JCR server
application
webapps/src The directory containing the source files of
the sample JCR client webapp (jcrbrowser.war)
work working directory of the sample JCR server
application
How-To build and run:
---------------------
- copy mail.jar (JavaMail) to lib/common
- if you're using a jdk version prior to 1.4 you hav to copy
jta.jar (Java Transaction API) to lib/common
- run 'ant package' to build the jar files
- run 'ant webapp' to build the client webapp
- deploy webapps/build/lib/jcrbrowser.war in tomcat
- run bin/ri_server.bat to start the sample JCR server
- point your browser to the sample JCR client webapp
(e.g. http://localhost:8080/jcr) and login to the
repository...
1.2 +81 -0 jakarta-slide/proposals/jcrri/work/jcr.log
Index: jcr.log
===================================================================
RCS file: /home/cvs/jakarta-slide/proposals/jcrri/work/jcr.log,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jcr.log 1 Mar 2003 06:56:11 -0000 1.1
+++ jcr.log 5 Nov 2003 11:14:50 -0000 1.2
@@ -1 +1,82 @@
28.02.2003 16:40:04 *INFO * [main] TestServer: bound repository 'localfs' to name
'jcr' (?, line ?)
+04.11.2003 19:29:05 *INFO * [main] TestServer: bound repository 'localfs' to name
'jcr' (?, line ?)
+05.11.2003 11:36:43 *ERROR* [main] TestServer: failed to instantiate/bind
repository instance (?, line ?)
+java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
+ java.net.BindException: Address in use: JVM_Bind
+java.net.BindException: Address in use: JVM_Bind
+ at java.net.PlainSocketImpl.socketBind(Native Method)
+ at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
+ at java.net.ServerSocket.<init>(ServerSocket.java:170)
+ at java.net.ServerSocket.<init>(ServerSocket.java:82)
+ at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:30)
+ at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:312)
+ at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:559)
+ at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:222)
+ at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:176)
+ at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
+ at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
+ at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:125)
+ at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:95)
+ at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:81)
+ at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:167)
+ at org.apache.slide.jcr.TestServer.main(Unknown Source)
+05.11.2003 11:37:52 *ERROR* [main] TestServer: failed to instantiate/bind
repository instance (?, line ?)
+java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
+ java.net.BindException: Address in use: JVM_Bind
+java.net.BindException: Address in use: JVM_Bind
+ at java.net.PlainSocketImpl.socketBind(Native Method)
+ at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
+ at java.net.ServerSocket.<init>(ServerSocket.java:170)
+ at java.net.ServerSocket.<init>(ServerSocket.java:82)
+ at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:30)
+ at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:312)
+ at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:559)
+ at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:222)
+ at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:176)
+ at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
+ at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
+ at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:125)
+ at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:95)
+ at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:81)
+ at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:167)
+ at org.apache.slide.jcr.TestServer.main(Unknown Source)
+05.11.2003 11:39:41 *ERROR* [main] TestServer: failed to instantiate/bind
repository instance (?, line ?)
+java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
+ java.net.BindException: Address in use: JVM_Bind
+java.net.BindException: Address in use: JVM_Bind
+ at java.net.PlainSocketImpl.socketBind(Native Method)
+ at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
+ at java.net.ServerSocket.<init>(ServerSocket.java:170)
+ at java.net.ServerSocket.<init>(ServerSocket.java:82)
+ at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:30)
+ at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:312)
+ at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:559)
+ at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:222)
+ at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:176)
+ at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
+ at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
+ at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:125)
+ at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:95)
+ at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:81)
+ at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:167)
+ at org.apache.slide.jcr.TestServer.main(Unknown Source)
+05.11.2003 11:57:03 *ERROR* [main] TestServer: failed to instantiate/bind
repository instance (?, line ?)
+java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
+ java.net.BindException: Address in use: JVM_Bind
+java.net.BindException: Address in use: JVM_Bind
+ at java.net.PlainSocketImpl.socketBind(Native Method)
+ at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
+ at java.net.ServerSocket.<init>(ServerSocket.java:170)
+ at java.net.ServerSocket.<init>(ServerSocket.java:82)
+ at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:30)
+ at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:312)
+ at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:559)
+ at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:222)
+ at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:176)
+ at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
+ at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
+ at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:125)
+ at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:95)
+ at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:81)
+ at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:167)
+ at org.apache.slide.jcr.TestServer.main(Unknown Source)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]