Customization of Search JSP Template in Commerce Server
Hi
I am currently amending the search.jsp template provided by BEA in the wlcs/commerce
folder within Commerce Server 3.5 and according to them, one could carry out searhes
on virtually any fields within the table provided ie WLCS_PRODUCT.
I am trying to restrict field searching to the WLCS_PRODUCT_KEYWORD table so that
the primary keys would be used to do searches on the Product Catalog table.
Does any one have a good idea on how to do this?
The Javascript is returned inside the page, just as if it were a static
.html file that you had put Javascript into. Thus it works entirely on the
client. The client is unaware of whether a JSP engine put the page together
or whether it is was just a static HTML file.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Bola Taylor" <[email protected]> wrote in message
news:3b9dd5fc$[email protected]..
>
>
> I am currently using BEA Commerce Server and written some JSPs to be used
in the
> application. I am trying to carry out some validation of some fields in my
JSP
> and thats how javascript came up.
>
> The question I have is that does the javascript that I want to put on the
jsp
> run on the server or on the client like a normal html page? The questiion
sounds
> basic but I am considering writing a class to carry out validation as the
user
> could turn off javascript on browser.
>
>
>
>
Similar Messages
-
Changing Search JSPs within Commerce Server
Hi
I am currently evaluating the Commerce Server and Personalisation Server 3.5 and
I am trying to change the search.jsp within the Commerce server to include drop
down lists for a more presentable search engine.
I have tried to change the search.jsp to include drop down lists but I am running
into problems when giving the drop down lists a name because the previous textfield
that was there had a field dynamically named HttpRequestConstants.CATALOG_SEACH_STRING
which is one of the HttpRequestConstants constant variables that holds the search
criteria.
How can I therefor transfer the selected item within the drop down lists to the
HttpRequestConstants.CATALOG_SEACH_STRING?
Any help would be appreciated. Here is part of the code I am referring to
Any help would be appreciated
Bola
[scriptlet.txt]
The Javascript is returned inside the page, just as if it were a static
.html file that you had put Javascript into. Thus it works entirely on the
client. The client is unaware of whether a JSP engine put the page together
or whether it is was just a static HTML file.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Bola Taylor" <[email protected]> wrote in message
news:3b9dd5fc$[email protected]..
>
>
> I am currently using BEA Commerce Server and written some JSPs to be used
in the
> application. I am trying to carry out some validation of some fields in my
JSP
> and thats how javascript came up.
>
> The question I have is that does the javascript that I want to put on the
jsp
> run on the server or on the client like a normal html page? The questiion
sounds
> basic but I am considering writing a class to carry out validation as the
user
> could turn off javascript on browser.
>
>
>
>
-
Where does Javascript run within a JSP in Commerce Server
I am currently using BEA Commerce Server and written some JSPs to be used in the
application. I am trying to carry out some validation of some fields in my JSP
and thats how javascript came up.
The question I have is that does the javascript that I want to put on the jsp
run on the server or on the client like a normal html page? The questiion sounds
basic but I am considering writing a class to carry out validation as the user
could turn off javascript on browser.
The Javascript is returned inside the page, just as if it were a static
.html file that you had put Javascript into. Thus it works entirely on the
client. The client is unaware of whether a JSP engine put the page together
or whether it is was just a static HTML file.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Bola Taylor" <[email protected]> wrote in message
news:3b9dd5fc$[email protected]..
>
>
> I am currently using BEA Commerce Server and written some JSPs to be used
in the
> application. I am trying to carry out some validation of some fields in my
JSP
> and thats how javascript came up.
>
> The question I have is that does the javascript that I want to put on the
jsp
> run on the server or on the client like a normal html page? The questiion
sounds
> basic but I am considering writing a class to carry out validation as the
user
> could turn off javascript on browser.
>
>
>
>
-
Problem with Weblogic Commerce Server 3.1
I am currently evaluating the Weblogic Commerce server 3.1 product. I have
installed the Weblogic server 5.1 and the service pack 6 along with the
Commerce Server. I can get into the WLCS Commerce Server Templates and can
navigate the store categories and search for items but when I try to add to
the shopping cart or view the shopping cart I get taken to the 'servererror'
template. I have included at the bottom of this message the message from
the log file. Does anyone have any idea why I am getting this error?
Thanks in advance,
Barry Childs
Manager Knowledgebase Applications
Xactsites
<<<<<<< weblogic.log >>>>>>>
Fri Nov 10 14:00:16 MST 2000:<E> <WebAppServletContext-wlcs> Servlet failed
with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: 'wl':
For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java,
Compiled Code)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java,
Compiled Code)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java,
Compiled Code)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java, Compiled
Code)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
Compiled Code)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
, Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestinat
ion(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:376
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
, Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)I am currently evaluating the Weblogic Commerce server 3.1 product. I have
installed the Weblogic server 5.1 and the service pack 6 along with the
Commerce Server. I can get into the WLCS Commerce Server Templates and can
navigate the store categories and search for items but when I try to add to
the shopping cart or view the shopping cart I get taken to the 'servererror'
template. I have included at the bottom of this message the message from
the log file. Does anyone have any idea why I am getting this error?
Thanks in advance,
Barry Childs
Manager Knowledgebase Applications
Xactsites
<<<<<<< weblogic.log >>>>>>>
Fri Nov 10 14:00:16 MST 2000:<E> <WebAppServletContext-wlcs> Servlet failed
with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: 'wl':
For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java,
Compiled Code)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java,
Compiled Code)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java,
Compiled Code)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java, Compiled
Code)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
Compiled Code)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
, Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestinat
ion(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:376
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
, Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code) -
Commerce Server 3.2 - Performance
Hi,
I'm running Commerce Server 3.2 and Personalization Server for evaluation
purpose on a Windows2000 Professional with 120 MB of RAM.
I find the system very slow. (Ex: it takes ~ 2 min to start WLCS Templates).
Is there anything I can do ?
Regards,
DoinaHi Doina,
WLCS/WLPS 3.2 requires a minimum of 128 MB of RAM; more is recommended.
You're running with less than the minimum requirement, which will make it
very slow.
Also, when you first run one of the sample applications the JSPs will need
to be compiled. This causes the first invocation of each page to be slow.
- Ginny
"Doina Bundaru" <[email protected]> wrote in message
news:3addf4f2$[email protected]..
Hi,
I'm running Commerce Server 3.2 and Personalization Server for evaluation
purpose on a Windows2000 Professional with 120 MB of RAM.
I find the system very slow. (Ex: it takes ~ 2 min to start WLCSTemplates).
>
Is there anything I can do ?
Regards,
Doina -
Using Hprof with Commerce Server 3.5
My company is beginning the move to J2EE and I have been tasked with researching
profilers. I quickly came across Hprof, which is provided by the Sun JVM through
the use of the -Xrunhprof option. I have been able to successfully profile a
very small test application (stand alone app). However, I run into problems when
I use Hprof and try to start the example server provided with Commerce Server
3.5 (with WebLogic 6.0). Please see below for my syntax and results.
Syntax
%JAVA_HOME%\bin\java -Xrunhprof:cpu=times,doe=y .....
Results
The server appears to start and work correctly (no HRPOF ERROR: messages). When
I shut it down (using the console) and look at the java.hprof.txt file that is
created, the hprof data has not been fully written to the file. The file ends
in the middle of a trace:
TRACE 6687:
java/net/URLStreamHandler.getDefaultPort(URLStreamHandler.java:Unknown line)
I am curious if anyone has run into this problem before and how they might have
corrected it. Can anyone suggest a set of Hprof parameters to use? Or provide
a link to a good description of all of the parameters (I haven't found a lot of
documentation on it)?
I know that there are other commercial profilers (JProbe, Optimizeit, etc.) but
I would like to learn the basics before diving into them.
Any comments or suggestions would be appreciated.
Thanks
--ChrisHi Martin,
You probably already noticed, but a new WLCS 3.5 license has been
posted at http://commerce.bea.com/downloads/commerce_servers.jsp
Thanks for posting this. I'm sorry it didn't get answered until now.
If you ever have a question in the newsgroup that is not answered quickly
enough to get you on track with your evaluation or development process
then you can let our support team know about it by opening a support case
(for free) at http://www.bea.com/support/index.jsp
Martin Swan wrote:
When will the license on your site be updated, it ran out yesterday ?--
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com -
BEA WebLogic Commerce Server 3.5 with MS SQL Server 2000 as DB
Ooops !
Sorry but in my last mail I forgot to attach the file with the
stdout log with the described example portal errors. Here is
the message and the file.
Davide Pozzi
Hi to all.
I have a problem using BEA WebLogic Server 3.5 (with service
pack 1) with SQL Server 2000 as the database. I followed the
instructions for SQL Server 7 included in the file readme.txt > in WLCS_35_DDLand the (thin) Web documentation on the
subject. The I tried to run the example portal and the
templates examples. All is working well apart from the fact
that some data seem not to be taken from the database. For
example the example portal lacks the news titles in the "News > Index" portletand the ads in the "AcmePromotion" portlet. In > the templates examples some logo
are missing (the E-Business
Control Center loads, but no campains or discounts, etc. are
loaded). When I start the example portal, a lot of exceptions > arise. In theattached text file the stdout log of Commerce
Server is reported.
Can anyone tell me a hint to solve these problems ? There are > known problemssetting up SQL Server 2000 with Commerce Server > 3.5 ? I've seen that Commerce
Server 3.5 is not yet certified > for SQL Server 2000, is BEA going to certificate
it ?
>
Thank you in advance for any help.
Davide Pozzi[errors.txt]Ooops !
Sorry but in my last mail I forgot to attach the file with the
stdout log with the described example portal errors. Here is
the message and the file.
Davide Pozzi
Hi to all.
I have a problem using BEA WebLogic Server 3.5 (with service
pack 1) with SQL Server 2000 as the database. I followed the
instructions for SQL Server 7 included in the file readme.txt > in WLCS_35_DDLand the (thin) Web documentation on the
subject. The I tried to run the example portal and the
templates examples. All is working well apart from the fact
that some data seem not to be taken from the database. For
example the example portal lacks the news titles in the "News > Index" portletand the ads in the "AcmePromotion" portlet. In > the templates examples some logo
are missing (the E-Business
Control Center loads, but no campains or discounts, etc. are
loaded). When I start the example portal, a lot of exceptions > arise. In theattached text file the stdout log of Commerce
Server is reported.
Can anyone tell me a hint to solve these problems ? There are > known problemssetting up SQL Server 2000 with Commerce Server > 3.5 ? I've seen that Commerce
Server 3.5 is not yet certified > for SQL Server 2000, is BEA going to certificate
it ?
>
Thank you in advance for any help.
Davide Pozzi[errors.txt] -
Commerce server 3.2 tag library error
I have installed the following components on Solaris 2.7:-
- Java1.3
- WebLogic5.1
- SP6
- Commerce Server 3.2
The commerce server seems to start fine except the following exception
when the Create User button is clicked from the Admin screen. Any help
is appreciated.
Leo
6th Dimension-
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools> *.jsp:
init
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools>
FlowManager: init
Tue Jan 02 11:14:26 PST 2001:<E> <WebAppServletContext-tools> Servlet
failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'wl': For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at
weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at
weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
Tue Jan 02 11:14:26 PST 2001:<I> <ServletContext-General> servletimages:
initTo be more specific, I put the jar file in the $WEBLOGIC_HOME/lib directory.
-Brad.
"Brad Christiansen" <[email protected]> wrote:
>
I was getting the same exception until I put the weblogic-510-tags.jar file (found in the SP6 zip file) in a directory referenced by the WEBLOGIC_CLASSPATH environment variable.
-Brad.
Leo Fu <[email protected]> wrote:
I have installed the following components on Solaris 2.7:-
- Java1.3
- WebLogic5.1
- SP6
- Commerce Server 3.2
The commerce server seems to start fine except the following exception
when the Create User button is clicked from the Admin screen. Any help
is appreciated.
Leo
6th Dimension-
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools> *.jsp:
init
Tue Jan 02 11:14:15 PST 2001:<I> <WebAppServletContext-tools>
FlowManager: init
Tue Jan 02 11:14:26 PST 2001:<E> <WebAppServletContext-tools> Servlet
failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at:
'wl': For tag 'repeat', cannot load extra info class
'weblogicx.jsp.tags.RepeatTagInfo'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at
weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at
weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at
weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at
weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
Tue Jan 02 11:14:26 PST 2001:<I> <ServletContext-General> servletimages:
init -
[This is a cross post. I posted the same thing over at the coderanch: http://www.coderanch.com/t/554956/JSP/java/Alternative-JSP-templates]
Hey,
I've built and worked on quite a number of web applications using JSP for HTML templates.
I always found that the templates would get quite messy and confusing even if you use JSTL instead of scriptlets.
In a few projects I used other libraries for the HTML templates, Velocity for example.
Though, that's just the same in a slightly different syntax. I've also worked with numerous other technologies in Ruby land,
but I'm not happy with them either.
To come to the point of this post: I don't like it very much and so I've created an alternative: Wandledi
To describe it shortly: Instead of including scriptlets or custom tags into HTML files Wandledi uses a separate layer that's only responsible
for transforming HTML markup in order to fill it with dynamic data and so on.
For further information please have a look at http://wandledi.org *.
The idea isn't entirely new, though I don't know any other library that implements it in this way and not only for Java,
but for Scala, too.
The reason I post this here is that I was hoping to get some feedback from Java (and possibly Scala) developers on the whole thing.
Do you find the idea totally ludicrous or do you think it could make sense?
I for one am actually using Wandledi in several projects and I like it very much.
However, I might be a little biased. ;)
Regards,
Markus
* For an actual Java example see: http://wandledi.org/spells/duplication.html
Edited by: user5480329 on 06.10.2011 12:25
Edited by: user5480329 on 06.10.2011 13:33First off: Thank you for your input.
Please let me point out that Wandledi is in no way a web framework. It is a rather small library merely 'living in the presentation layer'.
889994 wrote:
+"The HTML markup stays clean and can even be edited with HTML editors such as Dreamweaver without getting confused.+" - This kind of argument is pretty widespread. Both ways. If there is some existing text editor for a given format they say - you may use editor XXX. If the format is too new they will tell - you do NOT need any special editor and sell that as an advantage. As of me I call that a "tools oriented approach" - as if starting a brand new technology we should first of all take a decision which editors it will comply to.
In reality developing a technology as a whole (really new ideas included) costs non less than 50 times more than any editor. Editors must follow technology, not vice verse.I agree. This point I added because I thought of it as a little bonus.
It's not something I had considered in the design of Wandledi. I use redcar for everything anyway! ;o
889994 wrote:
HTML files can be changed directly and the view is updated without recompilation. No compilation or runtime errors as a result of changes to templates - they may tell this. If is not a case they may tell something about how it is reliable when everything is compiled in advance.
My 15 years of contact to JSP pages tells me that all end-up with including compilation of JSP as a step of a build. Otherwise you have a convenience of extra redeployments to production.Well, in the end the only thing that brings relative security are integration tests, I suppose.
Cucumber to the rescue.
Still the point of making recompilation unnessary is pretty valuable for development,
because it makes it way quicker if you only make changes to the markup, which happens rather often
when you're trying to circumvent another IE6 bug. ;)
889994 wrote:
"By putting the transformation logic into plain classes you can use the full power of the language (Java, Scala, ...) to describe the view transformations.
This includes inheritance, composition and polymorphism to build up larger, more complex transformations OOP-style." - I have strong doubts that transformation logic is something needed for presentation. What about "the markup is also easier to read for humans, too."? - once you hide all under Java-coded transformations.This is a valid point. You can do all sorts of mischief with those transformations. But that's possible with any technology and it lies in the responsibility
of the developer to be reasonable about it. It's important to point out that you usally do not want to generate HTML with Wandledi (referring to your print("<html>") statement). You merely transform. That is add, remove or change HTML attributes or duplicate portions of markup that is already there.
One of the motivations behind Wandledi is that you should be able to express conditions and loops in an actual programming language instead of a cumcersome surrogate language or tags. The framework you suggested also makes this possible, which is good.
To bring an example of Wandledi for loops.
When you usally would do something like this:
JSP:
<ul class="users">
<% for (String user : users) { %>
<li><%= user.name %></li>
<% } %>
</ul>I find this very ugly. The use of EL only improves the situation mildly.
With Wandledi this would look like this:
HTML:
<ul class="users">
<li>Hans</li>
</ul>
Scala:get("ul.users li").foreachIn(users)( (li, user) => li.text = user.name )What I hope is that already in this small example the markup is more comfortable to read without the obfuscation through JSP. It is to me.
Also it isn't more code, less even in this example. Just put into another file.
Of course this would be less consise in Java. You would need about 5 lines of Java to express the same thing.
889994 wrote:
"The web designer can start building a functioning HTML page locally first without needing a server. Also they don't need to know jack about Java, JSP, JSTL, etc.." I agree. But. That may be said about ANY technology, including the JSP itself.That's not entirely true. What I mean is that the web designer can actually build the page locally and view it in his browser, simply by opening the file he is working on. Of course that is no longer possible once you start building stuff by including other files and so on.
But you can build the components and simply view them in the browser. You can build concrete instances.
Just as I did in the example above by inserting "Hans" instead of some variable name.
You can show the page to anyone with a browser, no fragments. But mock content which will later get replaced with actual content.
889994 wrote:
One big piece missing in your proposal is about components and code reuse in general. That's the thing. It isn't. Because it is already there. You just do it the same way you would do it with your normal Java code.
Because it is normal Java code. -
SP3 install causes error in WL Commerce Server
Hi Support,
After we installed SP3 for our Weblogic Server and Commerce Server, our
Example portal failed at the login step with the following error on html
page:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
and error messages in weblogic log:
Sat May 20 17:46:41 EDT 2000:<I> <WebLogicServer> WebLogic Server
started
Sat May 20 17:46:58 EDT 2000:<I> <ServletContext-General> WmDemo_Rob:
init
Sat May 20 17:46:58 EDT 2000:<I> <ServletContext-General> *.jsp: init
Sat May 20 17:46:59 EDT 2000:<I> <ServletContext-General> file: init
Sat May 20 17:55:53 EDT 2000:<I> <ServletContext-General> Generated java
file:
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_rob\repository\_userlogin.java
Sat May 20 17:55:59 EDT 2000:<E> <ServletContext-General> Compilation of
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_rob\repository\_userlogin.java
failed:
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_rob\repository\_userlogin.java:512:
No variable NEEDS_CREDENTIALS defined in class
weblogic.servlet.security.ServletAuthentication.
if (authenticated ==
weblogic.servlet.security.ServletAuthentication.NEEDS_CREDENTIALS //[
/portals/WmDev_Rob/Repository/_userlogin.jsp; Line: 79]
^
Note:
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_rob\repository\_userlogin.java
uses or overrides a deprecated API. Recompile with "-deprecation" for
details.
1 error, 1 warning
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[C:/JDK12~1.2/bin/javac.exe,
-classpath,
C:\JDK12~1.2\jre\lib\rt.jar;C:\JDK12~1.2\jre\lib\i18n.jar;C:\JDK12~1.2\jre\classes;C:\JDK12~1.2\jre\lib\rt.jar;D:\WEBLOG~1\lib\Weblogic510sp3boot.jar;D:\weblogic\classes\boot;D:\WEBLOG~1\lib\Weblogic510sp3.jar;D:\WEBLOG~1\lib\Weblogic_RDBMS.jar;D:\weblogic\license;D:\weblogic\lib\rmi-iiop12.jar;D:\weblogic\classes;D:\weblogic\lib\weblogicaux.jar;D:\WEBLOG~1\license;D:\WEBLOG~1\lib\collections.zip;D:\WEBLOG~1\lib\foundation-bmp-deploy.jar;D:\WEBLOG~1\lib\axiom-bmp-deploy.jar;D:\WEBLOG~1\lib\ebusiness-bmp-deploy.jar;D:\WEBLOG~1\lib\examples-bmp-deploy.jar;D:\WEBLOG~1\lib\Helper-bmp.jar;D:\Oracle\Ora81\jdbc\lib\classes111.zip;D:\WEBLOG~1\lib\wljsp.jar;D:\WEBLOG~1\lib\um_tags.jar;D:\WEBLOG~1\lib\esjsp.jar;D:\WEBLOG~1\lib\rules.jar;D:\WEBLOG~1\lib\jrulesserviceprovider.jar;D:\WEBLOG~1\lib\esportal.jar;D:\WEBLOG~1\lib\pt_admin.jar;D:\WEBLOG~1\lib\foundation.jar;D:\WEBLOG~1\lib\axiom.jar;D:\WEBLOG~1\lib\bridge.jar;D:\WEBLOG~1\classes;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25661.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25662.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25663.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25664.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25665.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25666.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25667.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25668.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25669.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25670.jar;D:\weblogic\lib\persistence\WebLogic_RDBMS.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25671.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25672.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25673.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25674.jar;D:\WebLogicCommerce\lib\wljsp.jar;D:\WebLogicCommerce\lib\esportal.jar;D:\WebLogicCommerce\lib\esjsp.jar;D:\WebLogicCommerce\lib\um_tags.jar;%WEBLOGIC_HOME%\myserver\servletclasses;D:\WebLogicCommerce\server\classfiles,
-d, D:\WebLogicCommerce\server\classfiles,
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_rob\repository\_userlogin.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.io.IOException.<init>(IOException.java, Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
at jsp.portals.wmdev_rob.repository.header._jspService(header.java:229)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Sat May 20 17:56:00 EDT 2000:<E> <ServletContext-General> Servlet failed
with Exception
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[C:/JDK12~1.2/bin/javac.exe,
-classpath,
C:\JDK12~1.2\jre\lib\rt.jar;C:\JDK12~1.2\jre\lib\i18n.jar;C:\JDK12~1.2\jre\classes;C:\JDK12~1.2\jre\lib\rt.jar;D:\WEBLOG~1\lib\Weblogic510sp3boot.jar;D:\weblogic\classes\boot;D:\WEBLOG~1\lib\Weblogic510sp3.jar;D:\WEBLOG~1\lib\Weblogic_RDBMS.jar;D:\weblogic\license;D:\weblogic\lib\rmi-iiop12.jar;D:\weblogic\classes;D:\weblogic\lib\weblogicaux.jar;D:\WEBLOG~1\license;D:\WEBLOG~1\lib\collections.zip;D:\WEBLOG~1\lib\foundation-bmp-deploy.jar;D:\WEBLOG~1\lib\axiom-bmp-deploy.jar;D:\WEBLOG~1\lib\ebusiness-bmp-deploy.jar;D:\WEBLOG~1\lib\examples-bmp-deploy.jar;D:\WEBLOG~1\lib\Helper-bmp.jar;D:\Oracle\Ora81\jdbc\lib\classes111.zip;D:\WEBLOG~1\lib\wljsp.jar;D:\WEBLOG~1\lib\um_tags.jar;D:\WEBLOG~1\lib\esjsp.jar;D:\WEBLOG~1\lib\rules.jar;D:\WEBLOG~1\lib\jrulesserviceprovider.jar;D:\WEBLOG~1\lib\esportal.jar;D:\WEBLOG~1\lib\pt_admin.jar;D:\WEBLOG~1\lib\foundation.jar;D:\WEBLOG~1\lib\axiom.jar;D:\WEBLOG~1\lib\bridge.jar;D:\WEBLOG~1\classes;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25661.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25662.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25663.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25664.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25665.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25666.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25667.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25668.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25669.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25670.jar;D:\weblogic\lib\persistence\WebLogic_RDBMS.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25671.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25672.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25673.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25674.jar;D:\WebLogicCommerce\lib\wljsp.jar;D:\WebLogicCommerce\lib\esportal.jar;D:\WebLogicCommerce\lib\esjsp.jar;D:\WebLogicCommerce\lib\um_tags.jar;%WEBLOGIC_HOME%\myserver\servletclasses;D:\WebLogicCommerce\server\classfiles,
-d, D:\WebLogicCommerce\server\classfiles,
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_rob\repository\_userlogin.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.io.IOException.<init>(IOException.java, Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
at jsp.portals.wmdev_rob.repository.header._jspService(header.java:229)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Sat May 20 17:56:01 EDT 2000:<I> <ServletContext-General> servletimages:
init
Sat May 20 18:30:56 EDT 2000:<I> <ServletContext-General> WmDemo_Wen:
init
Sat May 20 18:30:57 EDT 2000:<I> <ServletContext-General> Generated java
file:
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_wen\repository\_userlogin.java
Sat May 20 18:31:04 EDT 2000:<E> <ServletContext-General> Compilation of
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_wen\repository\_userlogin.java
failed:
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_wen\repository\_userlogin.java:512:
No variable NEEDS_CREDENTIALS defined in class
weblogic.servlet.security.ServletAuthentication.
if (authenticated ==
weblogic.servlet.security.ServletAuthentication.NEEDS_CREDENTIALS //[
/portals/WmDev_Wen/Repository/_userlogin.jsp; Line: 79]
^
Note:
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_wen\repository\_userlogin.java
uses or overrides a deprecated API. Recompile with "-deprecation" for
details.
1 error, 1 warning
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[C:/JDK12~1.2/bin/javac.exe,
-classpath,
C:\JDK12~1.2\jre\lib\rt.jar;C:\JDK12~1.2\jre\lib\i18n.jar;C:\JDK12~1.2\jre\classes;C:\JDK12~1.2\jre\lib\rt.jar;D:\WEBLOG~1\lib\Weblogic510sp3boot.jar;D:\weblogic\classes\boot;D:\WEBLOG~1\lib\Weblogic510sp3.jar;D:\WEBLOG~1\lib\Weblogic_RDBMS.jar;D:\weblogic\license;D:\weblogic\lib\rmi-iiop12.jar;D:\weblogic\classes;D:\weblogic\lib\weblogicaux.jar;D:\WEBLOG~1\license;D:\WEBLOG~1\lib\collections.zip;D:\WEBLOG~1\lib\foundation-bmp-deploy.jar;D:\WEBLOG~1\lib\axiom-bmp-deploy.jar;D:\WEBLOG~1\lib\ebusiness-bmp-deploy.jar;D:\WEBLOG~1\lib\examples-bmp-deploy.jar;D:\WEBLOG~1\lib\Helper-bmp.jar;D:\Oracle\Ora81\jdbc\lib\classes111.zip;D:\WEBLOG~1\lib\wljsp.jar;D:\WEBLOG~1\lib\um_tags.jar;D:\WEBLOG~1\lib\esjsp.jar;D:\WEBLOG~1\lib\rules.jar;D:\WEBLOG~1\lib\jrulesserviceprovider.jar;D:\WEBLOG~1\lib\esportal.jar;D:\WEBLOG~1\lib\pt_admin.jar;D:\WEBLOG~1\lib\foundation.jar;D:\WEBLOG~1\lib\axiom.jar;D:\WEBLOG~1\lib\bridge.jar;D:\WEBLOG~1\classes;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25661.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25662.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25663.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25664.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25665.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25666.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25667.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25668.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25669.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25670.jar;D:\weblogic\lib\persistence\WebLogic_RDBMS.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25671.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25672.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25673.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25674.jar;D:\WebLogicCommerce\lib\wljsp.jar;D:\WebLogicCommerce\lib\esportal.jar;D:\WebLogicCommerce\lib\esjsp.jar;D:\WebLogicCommerce\lib\um_tags.jar;%WEBLOGIC_HOME%\myserver\servletclasses;D:\WebLogicCommerce\server\classfiles,
-d, D:\WebLogicCommerce\server\classfiles,
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_wen\repository\_userlogin.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.io.IOException.<init>(IOException.java, Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
at jsp.portals.wmdev_wen.repository.header._jspService(header.java:229)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Sat May 20 18:31:05 EDT 2000:<E> <ServletContext-General> Servlet failed
with Exception
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[C:/JDK12~1.2/bin/javac.exe,
-classpath,
C:\JDK12~1.2\jre\lib\rt.jar;C:\JDK12~1.2\jre\lib\i18n.jar;C:\JDK12~1.2\jre\classes;C:\JDK12~1.2\jre\lib\rt.jar;D:\WEBLOG~1\lib\Weblogic510sp3boot.jar;D:\weblogic\classes\boot;D:\WEBLOG~1\lib\Weblogic510sp3.jar;D:\WEBLOG~1\lib\Weblogic_RDBMS.jar;D:\weblogic\license;D:\weblogic\lib\rmi-iiop12.jar;D:\weblogic\classes;D:\weblogic\lib\weblogicaux.jar;D:\WEBLOG~1\license;D:\WEBLOG~1\lib\collections.zip;D:\WEBLOG~1\lib\foundation-bmp-deploy.jar;D:\WEBLOG~1\lib\axiom-bmp-deploy.jar;D:\WEBLOG~1\lib\ebusiness-bmp-deploy.jar;D:\WEBLOG~1\lib\examples-bmp-deploy.jar;D:\WEBLOG~1\lib\Helper-bmp.jar;D:\Oracle\Ora81\jdbc\lib\classes111.zip;D:\WEBLOG~1\lib\wljsp.jar;D:\WEBLOG~1\lib\um_tags.jar;D:\WEBLOG~1\lib\esjsp.jar;D:\WEBLOG~1\lib\rules.jar;D:\WEBLOG~1\lib\jrulesserviceprovider.jar;D:\WEBLOG~1\lib\esportal.jar;D:\WEBLOG~1\lib\pt_admin.jar;D:\WEBLOG~1\lib\foundation.jar;D:\WEBLOG~1\lib\axiom.jar;D:\WEBLOG~1\lib\bridge.jar;D:\WEBLOG~1\classes;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25661.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25662.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25663.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25664.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25665.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25666.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25667.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25668.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25669.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25670.jar;D:\weblogic\lib\persistence\WebLogic_RDBMS.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25671.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25672.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25673.jar;D:\WebLogicCommerce\server\tmp_deployments\ejbjar25674.jar;D:\WebLogicCommerce\lib\wljsp.jar;D:\WebLogicCommerce\lib\esportal.jar;D:\WebLogicCommerce\lib\esjsp.jar;D:\WebLogicCommerce\lib\um_tags.jar;%WEBLOGIC_HOME%\myserver\servletclasses;D:\WebLogicCommerce\server\classfiles,
-d, D:\WebLogicCommerce\server\classfiles,
D:\WebLogicCommerce\server\classfiles\jsp\portals\wmdev_wen\repository\_userlogin.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.io.IOException.<init>(IOException.java, Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:96)
at jsp.portals.wmdev_wen.repository.header._jspService(header.java:229)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:153)
at
com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.java:1033)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java,
Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)Hi Robert,
Our team is well aware of the problem with WLCS 2.0 and WLS SP3 that shows
up when using the MyBuyBeans demo.
We are looking into this problem in engineering and we will post any
solution(s) once we figure out the offending issue.
Thanks.
Nelson Paiva
WLCS Developer Relations Engineer
</Customer>
After we installed SP3 for our Weblogic Server and Commerce Server, our
Example portal failed at the login step with the following error on html
page:
</Customer> -
Links in Search Result Templates
I´m having troubles trying to put a working link in custom Description field while creating a head line based Search Result Template.
I have added description field to customize columns
I have marked Use Advanced Description Form check
and
I have put a very easy (and unuseful) link like this under Main Information textfield
*<a href = "www.google.es"><$dID$></a>*
and
*& lt;a href = "www.google.es"& gt;& lt;$dID$& gt;& lt;/a& gt;* (without spaces between & and lt /gt)
I need UCM to show a link to google called as dID,
dID
But I´m getting
*<a href = "www.google.es"><$dID$></a>* literally
instead.
How can i get this?
Thank you very much
I know is a very stupid question and probably i have only to call some idoc or something like this but im not capable to do it.Wow, I did not think this would be that difficult! For whatever reason, I've found that the anchor tag just doesn't get encoded correctly. Must be a bug...
Anyway, here's a way to get it to work, but very round-about:
1. Create an idoc file (ie. description.idoc) with this code, and check it in:
<@dynamichtml custom_desc@>
<a href="http://www.google.es"><$dID$></a>
[add any other code]
<@end@>
2. In the "Main Information" text field of your search template, add this:
<$include custom_desc$>
3. In the "Advanced Options", click on "show additional options" and put this into the textbox:
<$docLoadResourceIncludes("dDocName=[ContentID from step #1]&RevisionSelectionMethod=LatestReleased")$>
You'll obviously need to checkout/in this idoc file anytime you want to change the description. There's gotta be a better way, but this is something you can use if you need it right away.
Good luck, and please award points as you see fit. -
WL commerce server 3.2 installation
Hi,
I am using WebGaing Studio 4.1, meaning that I have WL 5.1.0 SP7, on an
NT4SP4 workstation.
Following the readme, I have downgraded my WL installation to WL5.1.0SP6. As
well, I have installed Sun HotSpot server VM.
However, when trying to install the soft, I only have the installanywhere
screen, which stops without raising an error. But I don't have anything
else, even the red splash screen.
The only remaining difference being in the NT service pack (SP5
recommended), is it the issue or did i missed something?
Thanks
Laurent BUNIET
European Commission
[email protected]
[Laurent BUNIET.vcf]Hi Doina,
WLCS/WLPS 3.2 requires a minimum of 128 MB of RAM; more is recommended.
You're running with less than the minimum requirement, which will make it
very slow.
Also, when you first run one of the sample applications the JSPs will need
to be compiled. This causes the first invocation of each page to be slow.
- Ginny
"Doina Bundaru" <[email protected]> wrote in message
news:3addf4f2$[email protected]..
Hi,
I'm running Commerce Server 3.2 and Personalization Server for evaluation
purpose on a Windows2000 Professional with 120 MB of RAM.
I find the system very slow. (Ex: it takes ~ 2 min to start WLCSTemplates).
>
Is there anything I can do ?
Regards,
Doina -
Search Capabilities in E-Commerce....
Hi Experts,
I would like to know the search capabilities in E-commerce.
Please tell me whether we can enhance the search capabilities? If yes, then how.
Please give some reference of SAP notes.
Thanks.Hi
what kind search r u looking for.Do u want to search the product based on some enhanced attribute (like colour etc.)of product master.
for that u have to create list area of characteristic and assign that attibute in list area of characteristic.
Then u have to use that list area of characteristic in product catalog(i mean to say at header level of catalog sub area ).There after if u replicate that product catalog automatically additional attribute will also be replicated.
Then u have to do JSP enhancement to see that additional attribute and do search based on that attribute.For JSP enhancement u can get help from ISA development guide.
if helpful reward me. -
Adding jars to commerce server classpath
I have an installation of WebLogic Commerce Server 3.5, and I'm trying
to adapt an existing Web application so that it runs as a portlet. The
JSPs in the application use classes that reside in a JAR file. How does
one add this JAR file to the classpath of the JSP compiler used by the WLCS?
--RafeThis group is for WLS installs. Please post your request to
weblogic.developer.interest.commerce.
Thanks,
Bill Kemp
BEA Systems
Rafe Colburn wrote:
I have an installation of WebLogic Commerce Server 3.5, and I'm trying
to adapt an existing Web application so that it runs as a portlet. The
JSPs in the application use classes that reside in a JAR file. How does
one add this JAR file to the classpath of the JSP compiler used by the WLCS?
--Rafe -
Customize customer search page
Is there any way that we can customize customer search form with a DFF attribute on hz_parties?
Any help would be greatly appreciated.
Thanks,Hi Ravi,
You can redirect from jsp to OAF and from OAF to Oracle form
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String destination =
"form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU";
pageContext.forwardImmediatelyToForm(destination);
URL should be in form form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName:param1=
value1 param2=value2 param3=value3
Hope this will help.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on May 17, 2010 9:51 PM
Maybe you are looking for
-
My finder quits when accessing my Drobo External Hard Drive iMac Dual Core 24"
My Finder Quits Every time I access my External Drobo 8TB Firewire Drive. I have several other FireWire Drives online with it and have no problem with them. This happened soon after the 10.7.2 update. I have a lot of files on this drive. Could it be
-
6.0 ~ Webpage not functioning as before
The doppler radar site: http://www.weatheroffice.gc.ca/radar/index_e.html?id=WHK has an animation feature that we use constantly to track storms heading our way. The animation plays a sequence of frames taken over a period of time. In every version
-
Logon not possible (error in license check)
we did a system copy and then the temporary license expired. the permanent license which is installed on the system is valid for the original system so is not working. Due to the expired temporary license we cannot now get onto the system except usin
-
Comping isn't working occasionally on some of my audio tracks.
So I'm still a little bit of a noob--hoping this is an easy fix between the computer and the chair and not a bug. For some reason in some of my sessions I'm unable to comp audio in particular tracks. Other audio tracks in the same session can do it
-
IN F-03 DATA NOT GETING PROFT CENTERWISE
I HAVE QUERY ABOUT GL TAG BY PROFIT CENTER WISE WHEN I CHECK IN FAGLL03 THE ENTRY GET SEPARATED WITH PARTICULAR PROFIT CENTER BUT WHEN I USE F-03 FOR G/L TAGGING PROFIT CENTER FELID GET BLANK . I WANT TAG DATA PROFIT CENTER WISE HOW CAN GET THE DA