Use Case
Have MS Office to work with Jack Rabbit WebDAV
Solution
The solution given below is for internal usage only. Do not follow if you're not realize what you're exactly doing.
There is well known feature of MS Office which prevents it from correct work with WebDAV. During transmissions back and forth MS Office magically lose important auth headers which actually imply on WebDAV security. After hours of struggling with this, the only solution for internal usage was to disable authorization in Jack Rabbit.
I tried to play with security settings in jack rabbit but wasn't successful. The reason is that by default anonymous user has read only permission and any other login has full permission. I was able to tweak file:
SimpleAccessManager.java, rebuild sources and everything got worked :)
.NET Core, Java, NodeJS, React + Redux, Typescript, Oracle, Microsoft SQL Server, PostgreSQL, Microsoft Azure, Amazon AWS, and more.
Showing posts with label jboss. Show all posts
Showing posts with label jboss. Show all posts
Tuesday, January 11, 2011
Monday, January 10, 2011
jboss + jack rabbit
Use Case
Setup Jack Rabbit on JBoss
Solution
JBoss AS (jboss-5.1.0.GA), Jack Rabbit (2.2.0, jackrabbit-webapp-2.2.0.war).
There is official manual on how to setup Jack Rabbit onto JBoss: http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss
However, I prefer to work with WAR distributable files, so, my steps were a bit different:
1. Download jackrabbit-jcr-rmi-2.2.0.jar from https://repository.apache.org/content/groups/public/org/apache/jackrabbit/jackrabbit-jcr-rmi/2.2.0/jackrabbit-jcr-rmi-2.2.0.jar, put this file to jboss/server/default/lib
2. Copy jackrabbit-webapp-2.2.0.war to deploy directory
3. Start JBoss
In my case, jack rabbit started but wasn't able to create repository. The reason is odd error that default RMI port 1099 was occupied. That error will be fixed in 2.2.1.
I managed to fix this issue by specifying different RMI port (1100) in jboss\bin\jackrabbit\bootstrap.properties. Not sure that this is correct, but after this, JBoss picked up JackRabbit, created repo, give me webdav access and much more.
Useful links:
JackRabbit Configuration
http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Securityconfiguration
Next steps would be to configure WebDAV with MS Office, setup access, configure db file system and play with hadoop.
More info coming.
Setup Jack Rabbit on JBoss
Solution
JBoss AS (jboss-5.1.0.GA), Jack Rabbit (2.2.0, jackrabbit-webapp-2.2.0.war).
There is official manual on how to setup Jack Rabbit onto JBoss: http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss
However, I prefer to work with WAR distributable files, so, my steps were a bit different:
1. Download jackrabbit-jcr-rmi-2.2.0.jar from https://repository.apache.org/content/groups/public/org/apache/jackrabbit/jackrabbit-jcr-rmi/2.2.0/jackrabbit-jcr-rmi-2.2.0.jar, put this file to jboss/server/default/lib
2. Copy jackrabbit-webapp-2.2.0.war to deploy directory
3. Start JBoss
In my case, jack rabbit started but wasn't able to create repository. The reason is odd error that default RMI port 1099 was occupied. That error will be fixed in 2.2.1.
I managed to fix this issue by specifying different RMI port (1100) in jboss\bin\jackrabbit\bootstrap.properties. Not sure that this is correct, but after this, JBoss picked up JackRabbit, created repo, give me webdav access and much more.
Useful links:
JackRabbit Configuration
http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Securityconfiguration
Next steps would be to configure WebDAV with MS Office, setup access, configure db file system and play with hadoop.
More info coming.
jboss + jasper report server
Use Case
Setup jasper report server on jboss.
Solution
Download JBoss (jboss-5.1.0.GA), Jasper Server (jasperserver-ce-3.7.1-bin.zip). Installation is pretty straightforward, if follow this guide: http://jasperserver.sourceforge.net/docs/3-7-0/JasperServer-CE-Install-Guide.pdf
By default, Jasper Server uses MySQL / PostgreSQL to keep internal data. Good post about how to marry JasperServer & Oracle could be found here: http://stage.jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=54994
It's strange, but I wasn't able to get running JBoss 6.xx and Jasper Server 3.7.xx..
Setup jasper report server on jboss.
Solution
Download JBoss (jboss-5.1.0.GA), Jasper Server (jasperserver-ce-3.7.1-bin.zip). Installation is pretty straightforward, if follow this guide: http://jasperserver.sourceforge.net/docs/3-7-0/JasperServer-CE-Install-Guide.pdf
By default, Jasper Server uses MySQL / PostgreSQL to keep internal data. Good post about how to marry JasperServer & Oracle could be found here: http://stage.jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=54994
It's strange, but I wasn't able to get running JBoss 6.xx and Jasper Server 3.7.xx..
Subscribe to:
Posts (Atom)