views:

351

answers:

1

Hello,

Im trying to setup the ext environment for Liferay v5.1. I have downloaded the source code which is liferay-portal-src-5.1.2. And,im using the Liferay Tomcat bundle liferay-portal-tomcat-6.0-5.1.2. I get the error "SEVERE Error:filterStart" when i run the startup command in the tomcat folder of my liferay tomcat bundle.

For your reference i have listed below the steps i followed while trying to deploy ext . Did i perform all steps correctly and is there any way to fix the problem ?

Please Help

Thank You

Step (1)

I successfully built the extension directory structure, by running the following two commands in my source code directory.

ant start
ant build-ext

The enviroment variables and the settings in my configuration files are as follows:

JAVA_HOME : c:\jdk1.6.0_07
ANT_HOME : c:\apache-ant-1.7.1-bin\apache-ant-1.7.1

release.jacob.properties

lp.ext.dir=C:/jacob/setups/Liferay_Development/Liferay_5.1/portal/ext
lp.eclipse.dir=C:/jacob/setups/Liferay_Development/Liferay_5.1/workspace
lp.eclipse.project.name=liferay-ext

Step (2)

app.server.jacob.properties

app.server.tomcat.version=6.0
app.server.tomcat.dir=C:/jacob/setups/Liferay_Development/Liferay_5.1/liferay-portal-tomcat-6.0-5.1.2/liferay-portal-tomcat-6.0-5.1.2

I then created my database in MySQL, and have the following in liferay-portal-tomcat-6.0-5.1.2/liferay-portal-tomcat-6.0-5.1.2/conf/Catalina/localhost/ROOT.xml

<Resource
     name="jdbc/LiferayPool"
     auth="Container"
     type="javax.sql.DataSource"
     driverClassName="com.mysql.jdbc.Driver"
     url="jdbc:mysql://localhost/liferayportal?useUnicode=true&amp;characterEncoding=UTF-8&amp;useFastDateParsing=false"
     username="root"
     password="jacob"
     maxActive="20"
/>

Step (3)

I then navigated to my ext folder,which is C:/jacob/setups/Liferay_Development/Liferay_5.1/portal/ext, and got BUILD SUCCESSFUL for the following command:

ant clean deploy

Step (4)

I then navigated to the tomcat directory in the liferay tomcat bundle,liferay-portal-tomcat-6.0-5.1.2 and ran the startup command, for which i got the error

SEVERE:Error filterStart

A: 

You should see much more information in your Tomcat console. Please provide Tomcat's output.

Eli Acherkan
This should have been a comment.
BalusC