I don't know if it's a problem, but even a simple System.out.println("Test")
won't show up in any log file or console. I simply edited an existing .vm
and .java file. I've attached both of them. It does however, go to the
target page (SogyoComplete.vm)
Hope someone can help,
Maarten
----- Original Message -----
From: "Kimpton,C (Chris)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 2:29 PM
Subject: RE: warning?
Hi,
>
> I've created a simple class (action) which reads and prints
> (System.out.println) the values. But when i look at the log i
> get the following message:
>
> [Tue Jun 12 14:04:11 CEST 2001] -- WARN -- IDBroker is being
> used with db: default
> which does not support transactions. It is possible to
> generate duplicate keys, if multiple JVM's are used or other
> means are used to write to the database.
> [Tue Jun 12 14:04:47 CEST 2001] -- INFO -- Initializing
> service (late): UploadService
>
Is this all that is in your log?
These seem like normal turbine startup messages.
What services have you got enabled in your TurbineResources.properties file?
It looks like IDBroker and UploadService from those messages. The IDBroker
uses a database for the id's it generates - I believe. Its probably using
hsql.
> I'm not really sure what that means. I'm not writing to a
> database or anything. Here's the core code:
> public class EJBTest extends SecureAction
> {
> public void doEJBTest(RunData data, Context context)
> throws Exception
> {
> String name = data.getParameters().getString("name");
> String productID =
> data.getParameters().getString("productid");
> String description =
> data.getParameters().getString("description");
> String basePrice =
> data.getParameters().getString("baseprice");
> System.out.println(name);
> System.out.println(productID);
> System.out.println(description);
> System.out.println(basePrice);
> }
>
> Has someone stumbled across this problem or has an answer?
>
I think the System.out.println stuff will appear in your servlet container
log, eg on the tomcat console, if you are using tomcat.
To go into the turbine log, use Log.note etc.
HTH,
Chris
============================================================================
====================
This electronic message (email) and any attachments to it are subject to
copyright and are sent for the personal attention of the addressee. Although
you may be the named recipient, it may become apparent that this email and
its contents are not intended for you and an addressing error has been made.
This email may include information that is legally privileged and exempt
from disclosure. If you have received this email in error, please advise us
immediately and delete this email and any attachments from your computer
system.Rabobank International is the trading name of Covperatieve Centrale
Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
Registered with the Registrar of Companies for England & Wales No. BR002630
and regulated by the SFA for the conduct of investment business in the UK.
The presence of this footnote also confirms that this email has been
automatically checked by Rabobank International for the presence of computer
viruses prior to it being sent, however, no guarantee is given or implied
that this email is virus free upon delivery.
==================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sogyo.vm
EJBTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]