Thanks Robert.

After adding the derby JAR file, oozie started successfully!

root@li339-83:/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2#
bin/oozie admin -oozie http://localhost:11000/oozie -status
System mode: NORMAL



Thanks,
Lenin


On Thu, May 30, 2013 at 11:49 PM, Robert Kanter <[email protected]>wrote:

> Can you check if derby-10.6.1.0.jar (the version number might be different,
> but that should be ok) is in the libext dir?  If not, I'm not sure why it
> would be missing, but you can download it from the "Download (JAR)" link on
> this page:
> http://mvnrepository.com/artifact/org.apache.derby/derby/10.6.1.0
>
> thanks
> - Robert
>
>
> On Thu, May 30, 2013 at 10:58 AM, Lenin Raj <[email protected]> wrote:
>
> > Hi Robert,
> >
> > I have added CATALINA_BASE in oozie-env.sh as *
> >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server
> > *
> >
> > Now prepare-war command does not show any error like earlier.
> >
> > When I run start:
> > *
> > root
> >
> @li339-83://usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2#
> > bin/oozied.sh start*
> >
> > Setting OOZIE_HOME:
> > //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2
> > Setting OOZIE_CONFIG:
> > //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf
> > Sourcing:
> >
> >
> //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf/oozie-env.sh
> >   setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
> >   setting
> >
> >
> CATALINA_BASE="/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server"
> > Setting OOZIE_CONFIG_FILE:   oozie-site.xml
> > Setting OOZIE_DATA:
> > //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/data
> > Setting OOZIE_LOG:
> > //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/logs
> > Setting OOZIE_LOG4J_FILE:    oozie-log4j.properties
> > Setting OOZIE_LOG4J_RELOAD:  10
> > Setting OOZIE_HTTP_HOSTNAME: li339-83.members.linode.com
> > Setting OOZIE_HTTP_PORT:     11000
> > Setting OOZIE_ADMIN_PORT:     11001
> > Setting OOZIE_HTTPS_PORT:     11443
> > Setting OOZIE_BASE_URL:
> > http://li339-83.members.linode.com:11000/oozie
> > Using   CATALINA_BASE:
> >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server
> > Setting OOZIE_HTTPS_KEYSTORE_FILE:     /root/.keystore
> > Setting OOZIE_HTTPS_KEYSTORE_PASS:     password
> > Setting CATALINA_OUT:
> >
> >
> //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/logs/catalina.out
> > Setting CATALINA_PID:
> >
> >
> //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server/temp/oozie.pid
> >
> > Using   CATALINA_OPTS:       -Xms256m -Xmx768m -XX:MaxPermSize=256m
> > -Dsun.rmi.dgc.client.gcInterval=3600000
> > -Dsun.rmi.dgc.server.gcInterval=3600000 -Xmx1024m
> >
> >
> -Dderby.stream.error.file=//usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/logs/derby.log
> > Adding to CATALINA_OPTS:
> >
> >
> -Doozie.home.dir=//usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2
> >
> >
> -Doozie.config.dir=//usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf
> >
> >
> -Doozie.log.dir=//usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/logs
> >
> >
> -Doozie.data.dir=//usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/data
> > -Doozie.config.file=oozie-site.xml
> > -Doozie.log4j.file=oozie-log4j.properties -Doozie.log4j.reload=10
> > -Doozie.http.hostname=li339-83.members.linode.com-Doozie.admin.port=11001
> > -Doozie.http.port=11000 -Doozie.https.port=11443 -Doozie.base.url=
> >
> >
> http://li339-83.members.linode.com:11000/oozie-Doozie.https.keystore.file=/root/.keystore
> > -Doozie.https.keystore.pass=password -Djava.library.path=
> >
> > Using CATALINA_BASE:
> >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server
> > Using CATALINA_HOME:   /usr/share/tomcat6
> > Using CATALINA_TMPDIR:
> >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server/temp
> > Using JRE_HOME:        /usr/lib/jvm/java-6-oracle
> > Using CLASSPATH:
> >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server/bin/tomcat-juli.jar:/usr/share/tomcat6/bin/bootstrap.jar
> > Using CATALINA_PID:
> >
> >
> //usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/oozie-server/temp/oozie.pid
> > Existing PID file found during start.
> > Removing/clearing stale PID file.
> >
> > When I check the log, I could see a JDBC driver exception:
> >
> > 2013-05-30 23:20:39,710 FATAL Services:533 - Runtime Exception during
> > Services Load. Check your list of 'oozie.services' or
> 'oozie.services.ext'
> > 2013-05-30 23:20:39,715 FATAL Services:533 - USER[-] GROUP[-] TOKEN[-]
> > APP[-] JOB[-] ACTION[-] E0103: Could not load service classes, Cannot
> > create JDBC driver of class 'org.apache.derby.jdbc.EmbeddedDriver' for
> > connect URL
> >
> >
> 'jdbc:derby://usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/data/oozie-db;create=true'
> > org.apache.oozie.service.ServiceException: E0103: Could not load service
> > classes, Cannot create JDBC driver of class
> > 'org.apache.derby.jdbc.EmbeddedDriver' for connect URL
> >
> >
> 'jdbc:derby://usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/data/oozie-db;create=true'
> >         at
> > org.apache.oozie.service.Services.loadServices(Services.java:291)
> >         at org.apache.oozie.service.Services.init(Services.java:208)
> >         at
> >
> >
> org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:39)
> >         at
> >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
> >         at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
> >         at
> >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
> >         at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
> >         at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
> >         at
> >
> >
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
> >         at
> >
> >
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
> >         at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
> >         at
> > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
> >         at
> >
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
> >         at
> >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
> >         at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
> >         at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
> >         at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
> >         at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
> >         at
> > org.apache.catalina.core.StandardService.start(StandardService.java:525)
> >         at
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> >
> > Thanks is advance for helping in resolving this exception.
> >
> >
> > Thanks,
> > Lenin
> >
> >
> > On Thu, May 30, 2013 at 11:12 PM, Robert Kanter <[email protected]
> > >wrote:
> >
> > > Did you change CATALINA_BASE in oozie-env.sh?  From what you said, it
> > looks
> > > like its set to "/var/lib/tomcat6/"; it's normally something like
> > > "/usr/lib/oozie/oozie-server-0.20" or "/usr/lib/oozie/oozie-server".
> > > Can you post all of the output from running 'oozie-setup.sh
> prepare-war'?
> > >  I think something is wrong with how your env is set up, and that will
> > give
> > > me a better idea.
> > >
> > > thanks
> > > - Robert
> > >
> > >
> > > On Thu, May 30, 2013 at 7:28 AM, Lenin Raj <[email protected]>
> wrote:
> > >
> > > > Robert,
> > > >
> > > > I used bin/mkdistro.sh -DskipTests to build oozie. The build went
> > fine. I
> > > > saw "SUCCESS" against all the projects.
> > > >
> > > > During bin/oozie-setup.sh prepare-war, the only error/warning is
> > > > *
> > > > cp: cannot stat `/var/lib/tomcat6/conf/ssl/server.xml': No such file
> or
> > > > directory
> > > >
> > > > **
> > > > Though I see IO Exception in the log, oozie server seems running.
> > > >
> > > > When I do ps -eaf | grep oozie, I see the following:
> > > >
> > > > 1005     23317     1  0 May29 ?        00:00:46
> > > > /usr/lib/jvm/java-6-oracle/bin/java
> > > >
> > -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties
> > > > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> > > -Xms256m
> > > > -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000
> > > > -Dsun.rmi.dgc.server.gcInterval=3600000 -Xmx1024m
> > > >
> > > >
> > >
> >
> -Dderby.stream.error.file=/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/logs/derby.log
> > > >
> > > >
> > >
> >
> -Doozie.home.dir=/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2
> > > >
> > > >
> > >
> >
> -Doozie.config.dir=/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf
> > > >
> > > >
> > >
> >
> -Doozie.log.dir=/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/logs
> > > >
> > > >
> > >
> >
> -Doozie.data.dir=/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/data
> > > > -Doozie.config.file=oozie-site.xml
> > > > -Doozie.log4j.file=oozie-log4j.properties -Doozie.log4j.reload=10
> > > >
> > -Doozie.http.hostname=li339-83.members.linode.com-Doozie.admin.port=11001
> > > > -Doozie.http.port=11000 -Doozie.https.port=11443 -Doozie.base.url=
> > > >
> > > >
> > >
> >
> http://li339-83.members.linode.com:11000/oozie-Doozie.https.keystore.file=/home/oozieuser/.keystore
> > > > -Doozie.https.keystore.pass=password -Djava.library.path=
> > > > -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath
> > > > /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6
> > > > -Dcatalina.home=/usr/share/tomcat6
> > -Djava.io.tmpdir=/var/lib/tomcat6/temp
> > > > org.apache.catalina.startup.Bootstrap start
> > > >
> > > > But I am not able to access the web UI using the URL
> > > > http://li339-83.members.linode.com:11000/oozie
> > > >
> > > > And when I do  bin/oozie admin -oozie
> > http://localhost:11000/oozie-status
> > > >
> > > > it says,
> > > >
> > > > Error: IO_ERROR : java.net.ConnectException: Connection refused
> > > > *
> > > >
> > > >
> > > > Thanks,
> > > > Lenin
> > > >
> > > >
> > > > On Wed, May 29, 2013 at 10:57 PM, Robert Kanter <
> [email protected]
> > > > >wrote:
> > > >
> > > > > Are you sure that the build completed successfully?  It sounds like
> > > some
> > > > > files might be missing, so I'm thinking that maybe it mostly
> > finished,
> > > > but
> > > > > there was an error near the end that you didn't see.  What command
> > did
> > > > you
> > > > > use to build Oozie?  And do you still have the output?
> > > > >
> > > > > - Robert
> > > > >
> > > > >
> > > > > On Wed, May 29, 2013 at 10:18 AM, Lenin Raj <[email protected]>
> > > > wrote:
> > > > >
> > > > > > Hi Robert,
> > > > > >
> > > > > > Thanks.
> > > > > >
> > > > > > I just tried "bin/oozie-setup.sh prepare-war", it was still
> > accessing
> > > > in
> > > > > > the same path. But Oozie started successfully:
> > > > > >
> > > > > > *cp: cannot stat `/var/lib/tomcat6/conf/ssl/server.xml': No such
> > file
> > > > or
> > > > > > directory
> > > > > >
> > > > > > New Oozie WAR file with added 'ExtJS library, JARs' at
> > > > > > /var/lib/tomcat6/webapps/oozie.war
> > > > > >
> > > > > > INFO: Oozie is ready to be started*
> > > > > >
> > > > > > And I have executed "bin/ooziedb.sh create -sqlfile oozie.sql
> -run"
> > > > > > successfully.
> > > > > >
> > > > > > When I try "bin/oozied.sh start", it outputs a list of
> environment
> > > > > > variables, but oozie server is not starting. Found the following
> in
> > > log
> > > > > > file
> > > > > >
> > > > > > 2013-05-29 22:38:50,526  INFO XLogService:539 -
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>  
> *******************************************************************************
> > > > > >   STARTUP MSG: Oozie BUILD_VERSION [3.3.2] compiled by [root] on
> > > > > > [2013.05.28-18:22:27GMT]
> > > > > >   STARTUP MSG:       revision [unavailable]@[unavailable]
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> *******************************************************************************
> > > > > > 2013-05-29 22:38:50,530  INFO XLogService:539 - Log4j
> configuration
> > > > file
> > > > > > [oozie-log4j.properties]
> > > > > > 2013-05-29 22:38:50,531  INFO XLogService:539 - Log4j
> configuration
> > > > file
> > > > > > loaded from
> > > > > >
> > > > >
> > > >
> > >
> >
> [/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf]
> > > > > > 2013-05-29 22:38:50,531  INFO XLogService:539 - Log4j reload
> > interval
> > > > [10
> > > > > > sec]
> > > > > > 2013-05-29 22:38:50,544  INFO ConfigurationService:539 - USER[-]
> > > > GROUP[-]
> > > > > > Oozie home dir
> > > > > >
> > [/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2]
> > > > > > 2013-05-29 22:38:50,544  INFO ConfigurationService:539 - USER[-]
> > > > GROUP[-]
> > > > > > Oozie conf dir
> > > > > >
> > > > >
> > > >
> > >
> >
> [/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/conf]
> > > > > > 2013-05-29 22:38:50,545  INFO ConfigurationService:539 - USER[-]
> > > > GROUP[-]
> > > > > > Oozie conf file [oozie-site.xml]
> > > > > > 2013-05-29 22:38:50,745  INFO ConfigurationService:539 - USER[-]
> > > > GROUP[-]
> > > > > > Configuration change via System Property, [oozie.base.url]=[
> > > > > > http://li339-83.members.linode.com:11000/oozie]
> > > > > > 2013-05-29 22:38:50,745  WARN ConfigurationService:542 - USER[-]
> > > > GROUP[-]
> > > > > > System property [oozie.https.keystore.pass] no defined in Oozie
> > > > > > configuration, ignored
> > > > > > 2013-05-29 22:38:50,745  WARN ConfigurationService:542 - USER[-]
> > > > GROUP[-]
> > > > > > System property [oozie.admin.port] no defined in Oozie
> > configuration,
> > > > > > ignored
> > > > > > 2013-05-29 22:38:50,746  WARN ConfigurationService:542 - USER[-]
> > > > GROUP[-]
> > > > > > System property [oozie.https.port] no defined in Oozie
> > configuration,
> > > > > > ignored
> > > > > > 2013-05-29 22:38:50,746  WARN ConfigurationService:542 - USER[-]
> > > > GROUP[-]
> > > > > > System property [oozie.https.keystore.file] no defined in Oozie
> > > > > > configuration, ignored
> > > > > > 2013-05-29 22:38:50,749  INFO Services:539 - USER[-] GROUP[-]
> > Exiting
> > > > > null
> > > > > > Entering NORMAL
> > > > > > 2013-05-29 22:38:50,754 FATAL Services:533 - USER[-] GROUP[-]
> > > > > > java.io.IOException: No such file or directory
> > > > > > java.io.IOException: No such file or directory
> > > > > >         at java.io.UnixFileSystem.createFileExclusively(Native
> > > Method)
> > > > > >         at java.io.File.checkAndCreate(File.java:1717)
> > > > > >         at java.io.File.createTempFile0(File.java:1738)
> > > > > >         at java.io.File.createTempFile(File.java:1850)
> > > > > >         at
> > > > > >
> > org.apache.oozie.service.Services.createRuntimeDir(Services.java:128)
> > > > > >         at
> > > org.apache.oozie.service.Services.<init>(Services.java:123)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:38)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
> > > > > >         at
> > > > > >
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
> > > > > >         at
> > > > > >
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
> > > > > >         at
> > > > > >
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
> > > > > >         at
> > > > > >
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> > > > > >         at
> > > > > >
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
> > > > > >         at
> > > > > >
> org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
> > > > > >         at
> > > > > >
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
> > > > > >         at
> > > > > >
> > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.catalina.core.StandardService.start(StandardService.java:519)
> > > > > >         at
> > > > > >
> > > org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
> > > > > >         at
> > > > org.apache.catalina.startup.Catalina.start(Catalina.java:581)
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > > > > >         at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > > > > >         at java.lang.reflect.Method.invoke(Method.java:616)
> > > > > >         at
> > > > > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> > > > > >         at
> > > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> > > > > >
> > > > > > I am not sure what file is oozie trying to access?
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Lenin
> > > > > >
> > > > > >
> > > > > > On Wed, May 29, 2013 at 9:27 PM, Robert Kanter <
> > [email protected]
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Lenin,
> > > > > > >
> > > > > > > If you specify "-secure" when calling oozie-setup.sh, it will
> > > replace
> > > > > > > server.xml (and web.xml in the WAR file) with a slightly
> > different
> > > > > > version
> > > > > > > that will enable SSL (HTTPS).  It doesn't look like you did
> that
> > > > > though,
> > > > > > so
> > > > > > > I'm not sure why it tried to do that.
> > > > > > >
> > > > > > > In any case, if you put the jars and ext-js into the libext
> > folder,
> > > > you
> > > > > > > don't need to pass any arguments other than "prepare-war" --
> > Oozie
> > > > will
> > > > > > > find the libext folder automatically.
> > > > > > >
> > > > > > > Can you try simply running this:
> > > > > > > bin/oozie-setup.sh prepare-war
> > > > > > >
> > > > > > > thanks
> > > > > > > - Robert
> > > > > > >
> > > > > > >
> > > > > > > On Wed, May 29, 2013 at 7:31 AM, Lenin Raj <
> [email protected]
> > >
> > > > > wrote:
> > > > > > >
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > I completed oozie build yesterday and trying to do server
> > > > > installation.
> > > > > > > > After copying necessary JAR files & ext-js to libext/, I ran
> > the
> > > > > > > following:
> > > > > > > >
> > > > > > > > *oozieuser@li339-83
> > > > > > > >
> > > > :/usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2$
> > > > > > > > bin/oozie-setup.sh prepare-war -jars libext/ -extjs libext/*
> > > > > > > >
> > > > > > > > I got the following output:
> > > > > > > >
> > > > > > > >
> > > > > > > >   setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
> > > > > > > >
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-beanutils-1.7.0.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-beanutils-core-1.8.0.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-codec-1.4.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-collections-3.2.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-configuration-1.6.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-digester-1.8.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-el-1.0.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-io-2.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-lang-2.4.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-logging-1.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-math-2.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/commons-net-1.4.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/hadoop-client-1.1.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/hadoop-core-1.1.1.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/hsqldb-1.8.0.7.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/jackson-core-asl-1.8.8.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/jackson-mapper-asl-1.8.8.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/log4j-1.2.16.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/oro-2.0.8.jar
> > > > > > > > INFO: Adding extension:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /usr/local/oozie/oozie/distro/target/oozie-3.3.2-distro/oozie-3.3.2/libext/xmlenc-0.52.jar
> > > > > > > > *cp: cannot stat `/var/lib/tomcat6/conf/ssl/server.xml': No
> > such
> > > > file
> > > > > > or
> > > > > > > > directory
> > > > > > > > cp: omitting directory `libext/'*
> > > > > > > >
> > > > > > > > *Failed: copying jar libext/ to staging*
> > > > > > > >
> > > > > > > > When I checked my tomcat6 directory, I could locate
> server.xml
> > > here
> > > > > > > >
> > > > > > > > */var/lib/tomcat6/conf/server.xml *
> > > > > > > >
> > > > > > > > *Why oozie is searching for server.xml under ssl folder?*
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Lenin
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to