Hello friends,

I am a turbine first timer. I downloaded the tdk and im trying to get that
sample newapp up and running.

I ran the newapp.bat file which did some build and added files
and folders to the tdk/webapps dir.

I have specified in the newapp.properties that i wish to connect
to oracle and i have provided the necessary info like the oracle
driver name, jdbc url for thin driver, user id passwd etc.

I have also copied the oracle drivers' zip file, classes12.zip to
the web-inf/lib dir as per the instruction.

Now when i try to execute the build script in the web-inf/build dir
i get this Resourcenot found exception. (please see below for the
exact error.)

Also i notice that the webapps\newapp\WEB-INF\src\sql\create-database.bat
does not have any content?

Any idea what is going wrong??



C:\programs\turbine\tdk\webapps\newapp\WEB-INF\src\sql\newapp-id-table-init.
sql

init-tasks:

create-database:
C:\programs\turbine\tdk\webapps\newapp\WEB-INF\src\sql\create-database.bat
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'p
arse' in  class org.apache.velocity.texen.Generator threw exception class
org.ap
ache.velocity.exception.ResourceNotFoundException
        at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava, Compiled Code)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java, Compiled Code)
        at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:207)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java, Compiled Code)
        at org.apache.velocity.Template.merge(Template.java:283)
        at org.apache.velocity.texen.Generator.parse(Generator.java:345)
        at org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java,
Compi
led Code)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:124)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java, Compiled
Code)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)

        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

BUILD FAILED

C:\programs\turbine\tdk\webapps\newapp\WEB-INF\build\build-project.xml:145:
Exec
ute failed: java.io.IOException: CreateProcess:
..\src\sql\create-database.bat
error=32
java.io.IOException: CreateProcess: ..\src\sql\create-database.bat  error=32
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:64)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:272)
        at
org.apache.tools.ant.taskdefs.Execute$CommandLauncher.exec(Execute.ja
va:431)
        at
org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execu
te.java:538)
        at
org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execu
te.java:563)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:228)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:162)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java, Compiled
Code)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:103)

        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 37 seconds

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 12:42 PM
To: [EMAIL PROTECTED]
Subject: WELCOME to [EMAIL PROTECTED]


Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

Acknowledgment: I have added the address

   [EMAIL PROTECTED]

to the turbine-user mailing list.

Welcome to [EMAIL PROTECTED]!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.

To unsubscribe, send a message to:

    <[EMAIL PROTECTED]>


--- Administrative commands for the turbine-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

For help and a description of available commands, send a message to:
   <[EMAIL PROTECTED]>

To subscribe to the list, send a message to:
   <[EMAIL PROTECTED]>

To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
   <[EMAIL PROTECTED]>

or for the digest to:
   <[EMAIL PROTECTED]>

For addition or removal of addresses, I'll send a confirmation
message to that address. When you receive it, simply reply to it
to complete the transaction.

If you need to get in touch with the human owner of this list,
please send a message to:

    <[EMAIL PROTECTED]>

Please include a FORWARDED list message with ALL HEADERS intact
to make it easier to help you.

--- Enclosed is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 90265 invoked from network); 11 May 2001 16:41:28 -0000
Received: from mail.osaccess.net (HELO mta1.mail.onsiteaccess.net)
(209.83.168.38)
  by h31.sny.collab.net with SMTP; 11 May 2001 16:41:28 -0000
Received: from NAVEEN ([216.173.44.206]) by mta1.mail.onsiteaccess.net
          (InterMail vK.4.03.02.00 201-232-124 license
d95ba599407e4c8619f5c2f9cb254eaa)
          with SMTP id <20010511163603.HSKR6617.mta1@NAVEEN>
          for
<turbine-user-sc.989599153.hjklpmljnenalbkngdfl-nmurthy=datalinx.net@jakarta
.apache.org>;
          Fri, 11 May 2001 12:36:03 -0400
From: "Naveen Srinivasa Murthy" <[EMAIL PROTECTED]>
To:
<turbine-user-sc.989599153.hjklpmljnenalbkngdfl-nmurthy=datalinx.net@jakarta
.apache.org>
Subject: RE: confirm subscribe to [EMAIL PROTECTED]
Date: Fri, 11 May 2001 12:38:35 -0400
Message-ID: <001601c0da38$d371d3d0$cc00a8c0@NAVEEN>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
Importance: High
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
In-Reply-To: <[EMAIL PROTECTED]>
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 12:39 PM
To: [EMAIL PROTECTED]
Subject: confirm subscribe to [EMAIL PROTECTED]


Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

To confirm that you would like

   [EMAIL PROTECTED]

added to the turbine-user mailing list, please send
an empty reply to this address:


turbine-user-sc.989599153.hjklpmljnenalbkngdfl-nmurthy=datalinx.net@jakarta.
apache.org

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into
the "To:" field of a new message.

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.

Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
<[EMAIL PROTECTED]> and put the
entire address listed above into the "Subject:" line.


--- Administrative commands for the turbine-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

For help and a description of available commands, send a message to:
   <[EMAIL PROTECTED]>

To subscribe to the list, send a message to:
   <[EMAIL PROTECTED]>

To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
   <[EMAIL PROTECTED]>

or for the digest to:
   <[EMAIL PROTECTED]>

For addition or removal of addresses, I'll send a confirmation
message to that address. When you receive it, simply reply to it
to complete the transaction.

If you need to get in touch with the human owner of this list,
please send a message to:

    <[EMAIL PROTECTED]>

Please include a FORWARDED list message with ALL HEADERS intact
to make it easier to help you.

--- Enclosed is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 86886 invoked from network); 11 May 2001 16:39:08 -0000
Received: from mail.osaccess.net (HELO web1.mail.onsiteaccess.net)
(209.83.168.38)
  by h31.sny.collab.net with SMTP; 11 May 2001 16:39:08 -0000
Received: from NAVEEN ([216.173.44.206]) by web1.mail.onsiteaccess.net
          (InterMail vK.4.03.02.00 201-232-124 license
d95ba599407e4c8619f5c2f9cb254eaa)
          with SMTP id <20010511163230.EVGA1302.web1@NAVEEN>
          for <[EMAIL PROTECTED]>;
          Fri, 11 May 2001 12:32:30 -0400
From: "Naveen Srinivasa Murthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject:
Date: Fri, 11 May 2001 12:36:15 -0400
Message-ID: <001501c0da38$800b6cb0$cc00a8c0@NAVEEN>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
Importance: High
Sensitivity: Company-Confidential
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N



Thanks and Regards

Naveen Srinivasa Murthy

Off: 914 333 0882 (Extn 108)
Res: 914 378 1425


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to