Jump to content
Changes to the Jaspersoft community edition download ×

JASPERSERVER on apache2 and tomcat5 connected


lum12

Recommended Posts

Hi forum,

I'm trying to configure tomcat5 connected with JK to apache2 for JASPERSERVER.

 

Tomcat and apache connected work well for example but with jsaperserver no way.

 

Have someone some experiances to share, giving me an hint becase now it's 2 days I'm going around :(

 

Thanks a lot for attention

 

Here my core files:

Code:
-------------------------------------------------------
/etc/apache2/workers.properties

# Tomcat and Java configuration
#
workers.tomcat_home=/usr/share/tomcat5
workers.java_home=/usr/lib/jdk
ps=/
worker.list=reportbeopen

# Definition for local worker using AJP 1.3
#
worker.reportbeopen.type=ajp13
worker.reportbeopen.host=report.beopen.it
worker.reportbeopen.port=8009
worker.reportbeopen.cachesize=20

-------------------------------------------------------
/etc/apache2/mods-available/jk.conf

<IfModule mod_jk.c>
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel error

</IfModule>
-------------------------------------------------------
/etc/apache2/mods-available/jk.load

LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so

-------------------------------------------------------
/usr/share/tomcat5/conf/server.xml
........................
<!-- report.beopen.it -->
<Host name="report.beopen.it" appBase="/usr/share/tomcat5/webapps"
unpackWARs="true" autoDeploy="true">

<Context path="" docBase="/usr/share/tomcat5/webapps/jasperserver" debug="1" reloadable="true"/>

<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="report.beopen.it_access_log." suffix=".log"
pattern="common" resolveHosts="false"/>
</Host>

........................

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I let it online to have a look at

http://report.beopen.it/

 

and the same tomcat and apache on same server here works http://beopen.ath.cx/

 

And I confirm that in localhost, without virtual host, and just tomcat, it works well.

 

The problem doesn't seems JK connection but the way to pass /*.jsp or other to connector.

 

I tried every combination but is seems that jasperserver, if can work in such way, need not a standard solution.

 

Could you post configuration for jboss also? I'd appreciate a lot to have also such choice.

 

Thanks a lot for your reply

 

luca

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...