> Hi   All
>   I am Priyank from MCG Inc. I was just debugging  the  Pet Store example
> when
> I got this strange looking thing i.e. /white url with every request I made
> . I guess it
> was a kind of padding that you require when you go back to a particular
> page again.
> I may not me making much sense right now because I am unable to express it
> clearly.
> Please see the attached file and the debug output I got. /white url is
> attached to all
> requests that I am unable to understand , how and why ? Following are the
> steps i
> did that generated that output on the console.
>
>
> > Open IE and type
> > http://localhost:8000/estore/
> >
> > click on Enter the store link takes you to
> >
> > http://localhost:8000/estore/control/main
> >
> > click on Sign-in link takes you to
> >
> > http://localhost:8000/estore/control/formbasedlogin
> >
> > Take in default parameters and press Submit takes you to
> >
> > http://localhost:8000/estore/control/signin
> >
> > click on Store Main Page takes you to
> >
> > http://localhost:8000/estore/control/main
> >
> > After all this I get this consolidated Debug output on my console that
> > I am attaching as a text file . Please see the attachment.What is
> > bothering me is /white URL that you get everytime. I am using J2EE RI
> application server and cloudscape database for this application. I am not
> sure where to put
> this query . I talked with a guy in Sun Microsystems who was involved with
> the design and
> implementation of this application and he agreed that there's some flaw
> with the design or
> something that he is not sure of. Please let me know if anybody has an
> answer for this.This
> is my first query , hoping to get some good solutions ;-)
> thanks
[Priyank Gupta]
I am getting the following output :
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-1999 Microsoft Corp.

C:\>j2ee -verbose

J2EE server Listen Port: = 1049
Naming service started: :1050
Published the configuration object ...
Binding DataSource, name = jdbc/Cloudscape, url =
jdbc:cloudscape:rmi:Cloudscape
DB;create=true
Binding DataSource, name = jdbc/EstoreDB, url =
jdbc:cloudscape:rmi:CloudscapeDB
;create=true
Binding DataSource, name = jdbc/InventoryDB, url =
jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Web service started: 9191
Web service started: 8000
Web service started: 7000
Loading
jar:/c:/j2sdkee1.2.1/repository/WKSTN-SJ02/applications/estore9699092327
44Server.jar
/c:/j2sdkee1.2.1/repository/WKSTN-SJ02/applications/estore969909232744Server
.jar

Binding name:`java:comp/env/ejb/account`
Binding name:`java:comp/env/ejb/order`
Binding name:`java:comp/env/mail/MailSession`
Looking up authenticator...
Binding name:`java:comp/env/jdbc/EstoreDataSource`
Binding name:`java:comp/env/ejb/inventory`
Binding name:`java:comp/env/jdbc/EstoreDataSource`
Binding name:`java:comp/env/sendConfirmationMail`
Binding name:`java:comp/env/securityAdapterClassName`
Binding name:`java:comp/env/ejb/mailer`
Binding name:`java:comp/env/ejb/catalog`
Binding name:`java:comp/env/ejb/cart`
Binding name:`java:comp/env/ejb/account`
Binding name:`java:comp/env/ejb/inventory`
Binding name:`java:comp/env/ejb/order`
Binding name:`java:comp/env/jdbc/InventoryDataSource`
Binding name:`java:comp/env/ejb/catalog`
Binding name:`java:comp/env/ejb/account`
Binding name:`java:comp/env/jdbc/EstoreDataSource`
Created Context:/estore
Binding name:`java:comp/env/useCatalogEJB`
Binding name:`java:comp/env/serverType`
Binding name:`java:comp/env/securityAdapterClassName`
Binding name:`java:comp/env/ejb/catalog`
Binding name:`java:comp/env/ejb/cart`
Binding name:`java:comp/env/ejb/account`
Binding name:`java:comp/env/ejb/order`
Binding name:`java:comp/env/ejb/scc`
Binding name:`java:comp/env/ejb/inventory`
Binding name:`java:comp/env/jdbc/EstoreDataSource`
J2EE server startup complete.
adding
com.sun.estore.account.web.AccountWebImpl@7f45deTojava:comp/env/ejb/account

RequestProcessor: Security Adapter class name =
com.sun.estore.util.J2eeSecurity
Adapter

In RequestProcessor : Requested Path =   /main

In RequestToEventTranslator : Selected URL =  /main

In RequestToEventTranslator : Event = null

In RequestProcessor : Event = null

ScreenFlowManager: selectedUrl = /main

In ScreenFlowManager : returning nextScreen =  0

In RequestProcessor : Requested Path =   /formbasedlogin

In RequestToEventTranslator : Selected URL =  /formbasedlogin

In RequestToEventTranslator : Event = null

In RequestProcessor  : Event = null

ScreenFlowManager: selectedUrl = /formbasedlogin

In ScreenFlowManager : returning nextScreen =  25

In RequestProcessor : Requested Path =   /white

In RequestToEventTranslator : Selected URL =  /white

In RequestToEventTranslator : Event = null

In RequestProcessor  : Event = null

ScreenFlowManager: selectedUrl = /white

In ScreenFlowManager : returning nextScreen =  0

Looking up authenticator...
In RequestProcessor : Requested Path =   /j_security_check

In RequestProcessor : Requested Path =   /signin

StateMachine: received event= com.sun.estore.control.event.LoginEvent@6bba64

StateMachine: received event= com.sun.estore.control.event.LoginEvent@6aa42e

queryString is: SELECT userid FROM account WHERE userid = 'j2ee'

queryString is: SELECT
userid,status,email,firstname,lastname,addr1,addr2,city,s
tate,zip,country,phone FROM account WHERE userid = 'j2ee'

queryString is: UPDATE account SET status = 'OK',email =
'[EMAIL PROTECTED]
m',firstname = 'ABC',lastname = 'XYZ',addr1 = '901 San Antonio Road', addr2
= 'M
S UCUP02-206',city = 'Palo Alto',state = 'CA',zip = 'USA',country =
'94303',phon
e = '555-555-5555' WHERE userid = 'j2ee'

queryString is: SELECT
userid,status,email,firstname,lastname,addr1,addr2,city,s
tate,zip,country,phone FROM account WHERE userid = 'j2ee'

In RequestToEventTranslator : Selected URL =  /signin

In RequestToEventTranslator : Event = null

In RequestProcessor  : Event = null

queryString is: UPDATE account SET status = 'OK',email =
'[EMAIL PROTECTED]
m',firstname = 'ABC',lastname = 'XYZ',addr1 = '901 San Antonio Road', addr2
= 'M
S UCUP02-206',city = 'Palo Alto',state = 'CA',zip = 'USA',country =
'94303',phon
e = '555-555-5555' WHERE userid = 'j2ee'

In RequestToEventTranslator : Selected URL =  /j_security_check

In RequestToEventTranslator : Event = null

In RequestProcessor : Event = null

ScreenFlowManager: selectedUrl = /signin

In ScreenFlowManager : returning nextScreen =  1

In RequestProcessor : Requested Path =   /white

In RequestToEventTranslator : Selected URL =  /white

In RequestToEventTranslator : Event = null

In RequestProcessor : Event = null

ScreenFlowManager: selectedUrl = /white

In ScreenFlowManager : returning nextScreen =  0

In RequestProcessor : Requested Path =   /main

In RequestToEventTranslator : Selected URL =  /main

In RequestToEventTranslator : Event = null

In RequestProcessor  : Event = null

ScreenFlowManager: selectedUrl = /main

In ScreenFlowManager : returning nextScreen =  0

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to