I'm trying to install Alfresco to Oracle OC4J and connect it to an Oracle database. I expanded the war file and modified the repository.properties and hibernate-context.xml to use the Oracle database connect info and dialect respectively. I also had to tell hibernate to use org.hibernate.hql.classic.ClassicQueryTranslatorFactory for the hibernate.query.factory_class, otherwise it was throwing a ClassNotFoundException for hibernate (found this issue on the web somewhere).Then I repackaged the war and deployed it to OC4J. The deployment went fine other than the CIFS server complaining about the domain, which I then fixed up as specified in the README. Some other interesting errors I got when I start the container, that I'm not sure if they are critical are:
Oct 5, 2005 5:42:30 PM net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
Oct 5, 2005 5:42:30 PM net.sf.joott.uno.UnoConnection connect
SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused
17:42:30,819 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "/tmp/Alfresco/ImageMagickContentTransformer_init_source_223.gif" "/tmp/Alfresco/ImageMagickContentTransformer_init_target_224.png"
17:42:35,545 ERROR [smb.protocol.netbios] NetBIOSNameServer setup error:
java.net.BindException: Permission denied
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
at java.net.DatagramSocket.bind(DatagramSocket.java:368)
at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
at java.net.DatagramSocket.<init>(DatagramSocket.java:234)
at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1080)
…
I then pointed my browser to /alfresco and it redirected to /alfresco/faces/jsp/login.jsp which does not exist in the war. However /alfresco/jsp/login.jsp does, so I pointed my browser to that one and received a 500 error and the following stack trace:
java.lang.NullPointerException
at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:646)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:254)
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:90)
at _jsp._login_2e_jsp._jspService(_login_2e_jsp.java:110)
[SRC:/jsp/login.jsp:28]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
…
Any ideas?