× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]

I was under the impression that Webfacing would only run successfully under
WAS on the AS/400 box itself, as the 5250 re-direct doesn't work to another
box.

Chris.

 -----Original Message-----
From:   P.Goovaerts@Clipper.Be [mailto:P.Goovaerts@Clipper.Be]
Sent:   14 January 2002 14:32
To:     java400-l@midrange.com
Subject:        Re: WebFacing / VAJAVA TE / MyFirstProject

--


1) I managed to create a project (1 screen) into WebFacing.
2) I ported this project to VAJAVA TestEnvironment.
3) then I added the project as a Web application into VAJAVA TE
(default.servlet_engine)
4) Finally, I launched the TE and pointed to the application

The standard generated startpage comes up,... hurraaaayyy
Extract of the page...
----------------------
Links for Program : "CALL LXCONT/LRTRMENU


Start TranSys - Launch in main browser window
Start TranSys - Launch in a new browser window


But when I try to launch the application... i get the error at the end.
It seems that the properties-files cannot be loaded.

I checked the application in WTE and all seems at place:
host/default_host/default_app
host/default_host/transys
host/default_host/transys/config
host/default_host/transys/RecordBeanSource

host/default_host/transys/servlets
host/default_host/transys/servlets/com...
host/default_host/transys/servlets/conf
host/default_host/transys/servlets/conf/cl193835.invocation
host/default_host/transys/servlets/conf/DSPFObjectMapping.properties
host/default_host/transys/servlets/conf/tracing.properties
host/default_host/transys/servlets/conf/TracingReadMe.txt
host/default_host/transys/servlets/conf/wfapp.properties

host/default_host/transys/lxcont...

The VAJAVA console gives following error:
com.ibm.as400ad.webfacing.runtime.core.WFException: WF0029: Unable to load
properties file conf\tracing.properties. (java.lang.Error: )

The error-webpage is as follows:



 (Embedded image moved to file: pic24271.gif)
      Application Error









The following error ocurred while the application was running :

     Error occurred while initializing application





Additional information :

     com.ibm.as400ad.webfacing.runtime.core.WFException: WF0029: Unable to
load properties file conf\wfapp.properties. (java.lang.Error: )


Details :
      com.ibm.as400ad.webfacing.runtime.core.WFException: WF0029: Unable to
      load properties file conf\wfapp.properties. (java.lang.Error: )
      java.lang.Throwable(java.lang.String)
      java.lang.Exception(java.lang.String)
      com.ibm.as400ad.webfacing.runtime.core.WFException(java.lang.String)
      void

com.ibm.as400ad.webfacing.common.BaseProperties.loadDirectFromClassPath(java
.lang.String)


      void

com.ibm.as400ad.webfacing.common.BaseProperties.loadFromClassPath(java.lang.
String)


      com.ibm.as400ad.webfacing.common.WFAppProperties
      com.ibm.as400ad.webfacing.common.WFAppProperties.getWFAppProperties()
      int

com.ibm.as400ad.webfacing.runtime.httpcontroller.ServletRequestHandler.initi
alizeInvocation(com.ibm.as400ad.webfacing.runtime.httpcontroller.WFConnectio
n)


      int

com.ibm.as400ad.webfacing.runtime.httpcontroller.ServletRequestHandler.proce
ssStateTransition

      )
      void

com.ibm.as400ad.webfacing.runtime.httpcontroller.ServletRequestHandler.handl
eRequest

      )
      void

com.ibm.as400ad.webfacing.runtime.httpcontroller.ControllerServlet.doPost(ja
vax.servlet.http.HttpServletRequest,

      javax.servlet.http.HttpServletResponse)
      void

com.ibm.as400ad.webfacing.runtime.httpcontroller.ControllerServlet.doGet(jav
ax.servlet.http.HttpServletRequest,

      javax.servlet.http.HttpServletResponse)
      void

javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest
,

      javax.servlet.http.HttpServletResponse)
      void
      javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
      javax.servlet.ServletResponse)
      void

com.ibm.servlet.engine.webapp.StrictServletInstance.doService(javax.servlet.
ServletRequest,

      javax.servlet.ServletResponse)
      void com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
      _service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
      void

com.ibm.servlet.engine.webapp.IdleServletState.service(com.ibm.servlet.engin
e.webapp.StrictLifecycleServlet,

      javax.servlet.ServletRequest, javax.servlet.ServletResponse)
      void

com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(javax.servlet.S
ervletRequest,

      javax.servlet.ServletResponse)
      void

com.ibm.servlet.engine.webapp.ServletInstance.service(javax.servlet.ServletR
equest,

      javax.servlet.ServletResponse,
      com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
      void

com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(com.ibm.se
rvlet.engine.webapp.ServletInstanceReference,

      javax.servlet.ServletRequest, javax.servlet.ServletResponse,
      com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
      void

com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(javax.servle
t.ServletRequest,

      javax.servlet.ServletResponse,
      com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
      void

com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(c
om.ibm.servlet.engine.webapp.WebAppRequest,

      javax.servlet.http.HttpServletResponse, boolean)
      void

com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(javax.servlet
.ServletRequest,

      javax.servlet.ServletResponse, boolean)
      void

com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(javax.servlet.
ServletRequest,

      javax.servlet.ServletResponse)
      void

com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(java.lang.Obje
ct)


      void

com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(java.lan
g.Object)


      void

com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(java.lang.S
tring,

      com.ibm.servlet.engine.srp.ISRPConnection)
      void

com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(com.ibm.ser
vlet.engine.oselistener.api.IOSEConnection)


      void

com.ibm.servlet.engine.http_transport.HttpTransportHandler.handleConnection(
java.net.Socket)


      void com.ibm.servlet.engine.http_transport.HttpTransportHandler.run()
      void java.lang.Thread.run()


(Embedded image moved to file: pic12958.gif)
--
[ pic24271.gif of type image/gif deleted ]
--
[ pic12958.gif of type image/gif deleted ]
--

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.