"Personalization Server
My development tools is Visual Age for Javaand I want to develop an extension of UUP with this tool. I try to import personalization server classes but i find many errors.How can i develop my extension?Thanks.
Hi Claudio,
What sort of errors? Some things to check are the classpath,
the JDK version, etc.
Thanks,
Skip
"Claudio Calastrini" <[email protected]> wrote in message
news:3ad1ea9b$[email protected]..
My development tools is Visual Age for Javaand I want to develop anextension of UUP with this tool. I try to import personalization server
classes but i find many errors.How can i develop my extension?Thanks.
Similar Messages
-
Cluster and Personalization server
Hi:
How do I set my Personalization/Portal server up to work in WL cluster ?
Thank You
David L. Wasler
[email protected]It's just like setting up Weblogic Server (WLS) in a cluster. The Weblogic
Personalization Server (WLPS) is a framework built on top of WLS. Check the
administration documents at
http://www.weblogic.com/docs51/cluster/index.html
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com -
Starting Commerce Server and Personalization Server
I am trying to evaluate these products. I am running NT 4.0, SP5 with
256MB RAM. I have installed Weblogic Server 5.1.0 with SP 6. I have
installed the latest version of the Commerce Server and Personalization
Server. I had to remove the -server switch from the java command line in
the startup script in order to get the JVM to start. The Commerce server
begins to initialize, then a bunch of exceptions are thrown, then it
shuts itself down.
I have attached the log file
WeblogicCommerceServer3.2\server\weblogic.log
Thanks for any help on this.
[weblogic.log]The error in your weblogic.log file of:
2001:<E> <T3Services> COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"Current WebLogic build may
not be compatible with the WebLogic Commerce Server implementation. Minimum Build:
83914 Current Installation Build: 66825"
Tue Apr 24 16:50:53 EDT
means that WLCS cannot find the correct service pack files for WLS 5.10. Might check
to see if the WLS 5.10 SP6 files (weblogic510sp6.jar and weblogic510s6boot.jar) are
located in d:\weblogic\lib.
Ted
jcerruto wrote:
I am trying to evaluate these products. I am running NT 4.0, SP5 with
256MB RAM. I have installed Weblogic Server 5.1.0 with SP 6. I have
installed the latest version of the Commerce Server and Personalization
Server. I had to remove the -server switch from the java command line in
the startup script in order to get the JVM to start. The Commerce server
begins to initialize, then a bunch of exceptions are thrown, then it
shuts itself down.
I have attached the log file
WeblogicCommerceServer3.2\server\weblogic.log
Thanks for any help on this.
Name: weblogic.log
weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: base64 -
WLS Plugin and the Commerce/Personalization Server
Hi,
Just wondering if the plugin which controls loads balancing can be used with
the Commerce/Personalization server ?
I have tried it ,but the way the portals works, the IIS server have no file
extensions to work with as a portal address is http://ip:port/portalname".
It doesn't have a file extension obviously, so the IIS box can invoke the
plugin.
Just wondering if anybody else has tried to get it working or it the plugin
merely designed to work with the 5.1 WLS server ?
Cheers
MickHi,
Just wondering if the plugin which controls loads balancing can be used with
the Commerce/Personalization server ?
I have tried it ,but the way the portals works, the IIS server have no file
extensions to work with as a portal address is http://ip:port/portalname".
It doesn't have a file extension obviously, so the IIS box can invoke the
plugin.
Just wondering if anybody else has tried to get it working or it the plugin
merely designed to work with the 5.1 WLS server ?
Cheers
Mick -
Personalization Server with 3 column portal
Has anyone succeeded in working around the 3 column limit
in the current version of personalization server? Or any news
as to when this will be removed?
Peter Booth
[email protected]The portlets are layed out in a single HTML table in
portalcontent.jsp, which is included with <jsp:include> in
portal.jsp. The default implementation is a simple solution
designed for speed. Because the layout is HTML and JSP combined
with portlet properties to define the location, it is not impossible
to change the layout possibilities.
I know that a few people have implemented a very flexible layout,
almost like a GridBagLayout, to allow portlets to span columns. The
content management system was used to load metadata about the
position of each portlet.
Because the portal presentation is based on JSP the layout is not
technically limited. The default implementation was designed to be
simple and fast. More complex layouts require coding.
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com -
Personalization Server Framework files
Hi,
I am using the framework files that comes with BEA Personalization Server
(i.e. header.jsp, error. jsp, etc.). I am hoping it will give me a jump
start
in developing the web site.
I am going through the code to understand what it is doing. I am stuck
with one thing in a file called header.jsp.
<%@ page import="com.beasys.commerce.portal.tags.PortalTagConstants" %>
<% String HEADER_FORWARD = "HEADER_FORWARD"; %>
I am trying to figure out what "HEADER_FORWARD" does. I tried
to find out if this constant is declared in the Javadoc API, but yet
I can't find documentation on "PortalTagConstants"
Any help is appreciated... Thank you
TeddyHello,
The personilization server does seem to lack documentation, as for the tags,
the descriptions given are minimal.
I normally look at the use of the tags in the buy beans examples and try to
replicate what I believe the tags are doing in my own test portal. So far I
have had a fair amount of success. If you need any help regarding tag use
please feel free to post your questions to me but I can't garantee detailed
responses to general questions.
best regards hoos.
"Teddy" <[email protected]> wrote in message
news:[email protected]..
Hi,
I have gone through user guide tag documentation. It doesn't
get that much detail. All it says about the framework files is
one or two sentences for each file (e.g. portal.jsp file
is the default file for the portal)
Is there more documentation on it such as a flow chart
of how the code works?
Teddy
Hussein Badakhchani <[email protected]> wrote in message
news:3994310a$[email protected]..
Hello,
it looks like the jsp tags use this attribute to forward the user to the
correct page when they select a button like "home" from the header.
if you need more info read personalisation server user guide tag
specification or feel free to hassal me (it's 18.00 on friday I have togo!)
regards hoos
"Teddy" <[email protected]> wrote in message
news:3992d826$[email protected]..
Hi,
I am using the framework files that comes with BEA Personalization
Server
(i.e. header.jsp, error. jsp, etc.). I am hoping it will give me a
jump
start
in developing the web site.
I am going through the code to understand what it is doing. I am stuck
with one thing in a file called header.jsp.
<%@ page import="com.beasys.commerce.portal.tags.PortalTagConstants"%>
<% String HEADER_FORWARD = "HEADER_FORWARD"; %>
I am trying to figure out what "HEADER_FORWARD" does. I tried
to find out if this constant is declared in the Javadoc API, but yet
I can't find documentation on "PortalTagConstants"
Any help is appreciated... Thank you
Teddy -
Personalization Server (Portal Server)
Hello,
I have some doubts :
- the creation of users in the portal admin tool (portaladmin) doesn't
work, if you want to create a user in this tool you can't enter a
password, is this the correct behaviour, or I'm doing something wrong ?
- the personalization server needs a database for the portal
configuration, the product has the Cloudscape for demo, and has scripts
to the instalation for production in the Oracle 8.0.5, are there some
scripts created for MS SQLServer?
Thanks for you attention,
Best Regards,
Helder Alexandre
[Helder.Alexandre.vcf]Just a clarification on the scripts question. There is no separate executable
that will create the tables for any database except for Cloudscape. However,
all of the ddl has been included, so that you can open up a sql tool for your
database and run the ddl through it, which will create the required tables.
Tim Breeden wrote:
Helder Alexandre wrote:
Hello,
I have some doubts :
- the creation of users in the portal admin tool (portaladmin) doesn't
work, if you want to create a user in this tool you can't enter a
password, is this the correct behaviour, or I'm doing something wrong ?A new user is created with a default password of 'guest.' The user can then
change his/her password from the portal through the personal preferences
page. The default password can be changed from the descriptor for the
PortalProperties descriptor, but the bean must be redeployed afterword.
- the personalization server needs a database for the portal
configuration, the product has the Cloudscape for demo, and has scripts
to the instalation for production in the Oracle 8.0.5, are there some
scripts created for MS SQLServer?There are none at this time. -
Personalization server & Sybase.
Did anyone try to run the WebLogic Personalization server against Sybase
instead of Cloudscape? How easy is it to install the configuration tables in
Sybase? Do I need to make any changes to the installation scripts that come
with the product?
Thanks.Hi David,
Our developers and QA have run it in a clustered environment when we
certified the WLCS 2.0.1 release for clustering, but perhaps someone in the
field would like to share their experiences?
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com -
Personalization Server And XML Parsers
hello there,
I am a new user of Weblogic commerce suite 2.0.
WE want to develop a portal by using above mentioned S/W. We want to get news from Reuters(which is XML data) and want to show it on our page. For this purpose do we need a XML parser or WLCS has in built support for this ????
Regards
abhishek dYou can mix CMP and BMP beans. You could deploy the various
personalization server related beans as bmp and then use CMP for the
components.
Jeff Wang
WLCS 2.0 Software Engineer
helder alexandre wrote:
>
Hi,
What I would like to do is the deployment with MS SQL Server with cmp.
But I think it isn't possible because for the personalization server there isn't
the -bmp- version of the jars, if you check the weblogic-cmp.properties and
weblogic-bmp.properties for the personalization server are deployed the same
jars.
I've made some research and find out that the jars are the same and that the
beans of usermanagemet are always bmp.
Thanks.
Helder
Mike Horn wrote:
there should be an oracle script in welogiccommerce\db\oracle that you can
use to create the database; then set your deployment set to BMP and make
sure that the ejb jars that you deploy are the -bmp- version
"helder alexandre" <[email protected]> wrote in message
news:[email protected]..
I will follow this question in w.d.interest.commerce.
But the same applies to MS SQL Server, because we have a driver jdbc forthat
dmbs ?
Thank You.
Helder
Jeff Wang wrote:
repeated from a post I made on tuesday in the w.d.interest.commerce
newsgroup:
I would suspect that the easiest way to do CMP in oracle is to take the
Cloudscape SQL file, and change all the serialized data types to
BLOBs... Not having personally done it, I don't know how painful it is
to do, but CMP should work relatively fine. Of course, if you have your
own data-mapping, that would be great too. There's nothing stopping you
from doing CMP on Oracle, other than the data schema, that is...
Jeff Wang
WLCS 2.0 Software Engineer
helder alexandre wrote:
Hi,
Have someone tried to install the Personalization Server with
container
managed persistence (cmp) in another DB than Cloudscape ??? Can the
Personalization Server be installed with Oracle and cmp ?
And for instance MS SQL Server ?
Thanks in advance,
Helder -
Personalization Server and Clustering
Hi:
Is anyone running the Personalization server in a clustered enviroment.
Thank You
David L. Wasler
[email protected]Hi David,
Our developers and QA have run it in a clustered environment when we
certified the WLCS 2.0.1 release for clustering, but perhaps someone in the
field would like to share their experiences?
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com -
Personalization Server and DBMS
Hi,
Have someone tried to install the Personalization Server with container
managed persistence (cmp) in another DB than Cloudscape ??? Can the
Personalization Server be installed with Oracle and cmp ?
And for instance MS SQL Server ?
Thanks in advance,
HelderYou can mix CMP and BMP beans. You could deploy the various
personalization server related beans as bmp and then use CMP for the
components.
Jeff Wang
WLCS 2.0 Software Engineer
helder alexandre wrote:
>
Hi,
What I would like to do is the deployment with MS SQL Server with cmp.
But I think it isn't possible because for the personalization server there isn't
the -bmp- version of the jars, if you check the weblogic-cmp.properties and
weblogic-bmp.properties for the personalization server are deployed the same
jars.
I've made some research and find out that the jars are the same and that the
beans of usermanagemet are always bmp.
Thanks.
Helder
Mike Horn wrote:
there should be an oracle script in welogiccommerce\db\oracle that you can
use to create the database; then set your deployment set to BMP and make
sure that the ejb jars that you deploy are the -bmp- version
"helder alexandre" <[email protected]> wrote in message
news:[email protected]..
I will follow this question in w.d.interest.commerce.
But the same applies to MS SQL Server, because we have a driver jdbc forthat
dmbs ?
Thank You.
Helder
Jeff Wang wrote:
repeated from a post I made on tuesday in the w.d.interest.commerce
newsgroup:
I would suspect that the easiest way to do CMP in oracle is to take the
Cloudscape SQL file, and change all the serialized data types to
BLOBs... Not having personally done it, I don't know how painful it is
to do, but CMP should work relatively fine. Of course, if you have your
own data-mapping, that would be great too. There's nothing stopping you
from doing CMP on Oracle, other than the data schema, that is...
Jeff Wang
WLCS 2.0 Software Engineer
helder alexandre wrote:
Hi,
Have someone tried to install the Personalization Server with
container
managed persistence (cmp) in another DB than Cloudscape ??? Can the
Personalization Server be installed with Oracle and cmp ?
And for instance MS SQL Server ?
Thanks in advance,
Helder -
WebLogic Personalization Server
Hi all,
I'm hoping someone can shed some light on the capabilities of
the WebLogic Personalization Server (WPS).
I have looked through some of the documentation, and it seems
to me that the WPS is intended for customizing portals (content, access to
specific
content, etc.).
However, would the WPS be useful for an ASP portal where there are multiple
roles
to be played (user and admin or both) and where the access control goes
beyond
simple "what pages/configuration can the user have" and more of what data
and control
of the data that the user has.
Hope that was clear ...
Thanks
RajuI gave this some thought and came up with the following solution.
There are 2 solutions:
Solution 1.
a) For each class of data create users in the database and give them the
appropriate authorization.
b) Create a lookup table that maps a username to a database user name based
on the level of authorization
c) As the user logs in, log into to the database with the database user that
corresponds to the current user.
d) Use the personalization engine to only show that content (or data
control) that corresponds to the logged in class of users.
Solution 2.
a. Create a lookup table to determine what level of authorization a user has
(same as b. above)
b. Use the personalization server to control the content show to the user
based on the level of authorization.
c. To restrict the user from enter a URL directly and viewing unauthorized
pages, call a function to check the level of authority for the current user
(against the table in a.) to either let the user continue or send them to an
unauthorized error page.
Hope this helps.
Solution 1 is more secure but you have the added headache to determine which
database user to log in as. May be a slight performance hit. Solution 2 is
more front end centric - hence your DBA need not know what you are doing.
Regards
CC
<rs> wrote in message news:[email protected]..
Hi all,
I'm hoping someone can shed some light on the capabilities of
the WebLogic Personalization Server (WPS).
I have looked through some of the documentation, and it seems
to me that the WPS is intended for customizing portals (content, access to
specific
content, etc.).
However, would the WPS be useful for an ASP portal where there aremultiple
roles
to be played (user and admin or both) and where the access control goes
beyond
simple "what pages/configuration can the user have" and more of what data
and control
of the data that the user has.
Hope that was clear ...
Thanks
Raju -
Portal sites using Personalization Server
One of our customer is a big portal site. They are using Vignette for
content management. They want to change their infrastructure. They want to
getrid of Vignette.
Is there any portal site using a solution Personalization server + Weblogic
Server for their sites ?
Regards.
Ali Rýza SogukpinarThis is an old posting, but if you happen to read again, looked at Fatwire
yet?
David S. Hawkins
[email protected]
"Ali Riza Sogukpinar" <[email protected]> wrote in message
news:[email protected]..
One of our customer is a big portal site. They are using Vignette for
content management. They want to change their infrastructure. They want to
getrid of Vignette.
Is there any portal site using a solution Personalization server +Weblogic
Server for their sites ?
Regards.
Ali Rýza Sogukpinar -
Commerce/personalization server 3.1 jsp error?
Hi,
I'm having problems installing the commerce and personalization engine 3.1
on solaris 2.6, with weblogic 5.1 sp6.
Everything seems to run fine until I try to create a group or user or any
useful link on the exampleportal when I get:
Tue Oct 03 16:55:38 EDT 2000:<I> <WebAppServletContext-tools> *.jsp: init
Tue Oct 03 16:55:39 EDT 2000:<I> <WebAppServletContext-tools> FlowManager:
init
Tue Oct 03 16:55:41 EDT 2000:<I> <ServletContext-General> file: init
Tue Oct 03 16:55:51 EDT 2000:<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 java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
at weblogic.servlet.jsp.JspException.<init>(JspException.java:14)
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at weblogic.servlet.jsp.StandardTagLib.processTag(Compiled Code)
at weblogic.servlet.jsp.StandardTagLib.processTagElements(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(Compiled
Code)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(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(Compiled Code)
at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at weblogic.servlet.internal.ServletStubImpl.getServlet(Compiled
Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(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(Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Anyone have any ideas where 'weblogicx.jsp.tags.RepeatTagInfo' might be? I
can't find this file anywhere.
Peter WuI added it to the CLASSPATH and it seems to run much better. I do still get
a nagging exception:
Wed Oct 04 10:30:12 EDT 2000:<E> <Posix Performance Pack> Failure in
processSockets()
java.net.SocketException: Connection reset by peer: Connection reset by peer
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.socketRead(Compiled Code)
at java.net.SocketInputStream.read(Compiled Code)
at weblogic.socket.PosixSocketMuxer.processSockets(Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
I'll try to shut off the performance pack or see if there were any patches
in sp6...
Peter
"Peter Wu" <[email protected]> wrote in message
news:[email protected]...
Hi,
Where am I suppose to add this jar? CLASSPATH or WEBLOGIC classpath?It's
in the sp6 file listing but it doesn't say what to do with it.
Peter
"H.Y." <[email protected]> wrote in message
news:[email protected]...
Hi Peter,
weblogic510sp6-lib-weblogic-tags-510.jar includes'weblogicx.jsp.tags.RepeatTagInfo.class'.
thanks.
"Peter Wu" <[email protected]> wrote:
Hi,
I'm having problems installing the commerce and personalization engine
3.1
on solaris 2.6, with weblogic 5.1 sp6.
Everything seems to run fine until I try to create a group or user or
any
useful link on the exampleportal when I get:
Tue Oct 03 16:55:38 EDT 2000:<I> <WebAppServletContext-tools> *.jsp:init
Tue Oct 03 16:55:39 EDT 2000:<I> <WebAppServletContext-tools>FlowManager:
init
Tue Oct 03 16:55:41 EDT 2000:<I> <ServletContext-General> file: init
Tue Oct 03 16:55:51 EDT 2000:<E> <WebAppServletContext-tools> Servletfailed
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 java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at
weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
atweblogic.servlet.jsp.JspException.<init>(JspException.java:14)
atweblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at weblogic.servlet.jsp.StandardTagLib.processTag(Compiled
Code)
atweblogic.servlet.jsp.StandardTagLib.processTagElements(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(Compiled
Code)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(CompiledCode)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(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(CompiledCode)
at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
atweblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
atweblogic.servlet.internal.ServletStubImpl.getServlet(Compiled
Code)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherIm
p
l.java:154)
atcom.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestina
t
ion(ServletDestinationHandler.java:51)
atcom.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:37
6
at javax.servlet.http.HttpServlet.service(Compiled Code)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
Code)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(CompiledCode)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(CompiledCode)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled
Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Anyone have any ideas where 'weblogicx.jsp.tags.RepeatTagInfo' mightbe?
I
can't find this file anywhere.
Peter Wu -
Is there a command cheatsheet for personalization server?
Hello,
I am having trouble understanding how different commands work to forward a
page. Is there a simple cheat sheet that explains when to use different
commands? Here are some examples:
How do I forward control to a standalone JSP page? Currently from
portal.jsp, I use <jsp:forward page="somepage.jsp"/> Is this the best way
from portal.jsp. What about from other pages?
How do I get back to the main jsp page. In the somepage.jsp I have tried
the following:
<%
response.sendRedirect(response.encodeURL("/TestProduct/application/TestProdu
ct")); %>
<jsp:forward page="<%=createURL(request, getHomePage(request), null)%>">
<jsp:forward page="<%=createURL(request,
response.encodeURL(getTrafficURI(request)), null)%>">
<jsp:forward page="<%=createURL(request, 'portal.jsp', null)%>">
<jsp:forward page="<%=createURL(request, getHomePage(request), null)%>">
<jsp:forward page="<%=getTrafficURINoContext(request)%>">
Sometimes one of them works, other times they don't. I still don't get the
difference between these. Yes, I have looked at the JavaDocs, but I still
don't get it. I am hoping that there is someone out there that has been
through these leaning pains that can help out with this!
I have one situation where I am at a standalone jsp page in the portals
directory. Depending on which button the user selects, I either want to
redirect back to the main portal page, or back to a login screen by logging
the user out (I require a login on all pages except the login page). Going
to the main page required using the sendRedirect. None of the jsp:forward
commands would work. I still havent been able to figure out how to log a
person out. I was trying to use jsp:forward back to portal.jsp with a
jsp:param of headerAction="signout", but that didn't work either.
Am I making this harder than it should be?
Thanks for any help any one can offer.
Ken Lee
[email protected]Hi Kenneth,
I assume you are talking about WLCS/WLPS 3.5. You will want to check out
Webflow http://edocs.bea.com/wlcs/docs35/wflopipe/index.htm , which is included
with WLCS 3.5, but only if you have the Commerce Server license. The
Webflow/Pipeline framework has been popular and it is included with the basic
WLPS 4.0 license in the newest release and will enable you to manage your
application navigation without changing your initial JSP code.
That said, it looks like you are talking about navigation without using
Webflow, so I'll address that. I would not recommend simply doing a JSP forward
out to a standalone .jsp page from your WLPS application because you will lose
track of your WLPS/WLCS session attributes that were set with
JspBase.setSessionValue(), JspBase.setLoggedIn(), etc. You should navigate by
passing requests through the FlowManager servlet, which will put an attribute
into the request, containing a String representing your web application's
context. This is used as a namespace for session attributes so that you can
have things like "exampleportal.SERVICEMANAGER.LOGGED.IN" and
"testportal.SERVICEMANAGER.LOGGED.IN" session attributes that are independent.
In other words, if you do a jsp:forward to a JSP page without going through the
FlowManager then the special key won't be present in the request, and then
JspBase.getLoggedIn() will always be false because JspBase.getLoggedIn() will
look for an attribute with a null component to the key like
"(null)SERVICEMANAGER.LOGGED.IN" and won't find it because it was set with
something like "myapplication.SERVICEMANAGER.LOGGED.IN" when you were in your
main application (which was accessed through the FlowManager servlet, which set
the special key in the request).
Look at
<wlcs3.5-install-dir>/config/wlcsDomain/applications/wlcsApp/exampleportal/portals/repository/_userreg.jsp:
<%
setOverrideDestination(request, JSP_USER_REG_SUMMARY);
setLoggedIn(request, response, true);
%>
<jsp:forward page="<%=getTrafficURINoContext(request)%>"/>
This setOverrideDestination() call sets a request parameter that the FlowManager
servlet uses to forward to the real destination (after putting a "key" into the
request that will be used by all subsequent JspBase.getSessionValue() ,
getLoggedIn(), etc. calls). Then the jsp:forward is done to the FlowManager
servlet.
Another common way to go through the FlowManager to another JSP page is through
the use of an HTML form. To do this, look at the example in
<wlcs3.5-install-dir>/config/wlcsDomain/applications/wlcsApp/exampleportal/portals/repository/loginSuccess.jsp.
Look at the hidden input in the HTML form:
<input type=hidden name="<%=DESTINATION_TAG%>" value="<%=getRequestURI(request)%>">
and the action:
<form method="post" action="<%=response.encodeURL(getTrafficURI(request))%>" name="UserLoginForm">
The hidden input sets a request parameter that says, "the real destination is
getRequestURI(), which is this page, so submit the form back to this .jsp
page". The action says, "submit the request to the FlowManger servlet that is
registered with this application in the Application Init property set ( search
for application_init and 'application init' in the docs, for instance:
http://e-docs.bea.com/wlcs/docs35///////portal/portldev.htm#1042719 ) The
FlowManager servlet forwards the request to the destination set with the hidden
parameter (or with JspBase.setOverrideDestination, or with a request parameter
in the query string like "dest=/mystuff/index.jsp".
Note that the FlowManager implements a security feature that will not allow you
to go through the FlowManager servlet to a resource that is not in your
applications workingdirectory, as specified in the application init property
set.
It is a long story. I would recommend that you use exampleportal to create a
few simple test portlets that practice these techniques. You should also create
a portlet that iterates through all session attributes and request attributes
and parameters so that you can see what I am talking about with the "key" used
to fix up WLPS session keys.
After you practice a little bit, you can contact support with a specific
navigation problem and they can help you solve it: (
http://www.bea.com/support/index.jsp )
Kenneth Lee wrote:
Hello,
I am having trouble understanding how different commands work to forward a
page. Is there a simple cheat sheet that explains when to use different
commands? Here are some examples:
How do I forward control to a standalone JSP page? Currently from
portal.jsp, I use <jsp:forward page="somepage.jsp"/> Is this the best way
from portal.jsp. What about from other pages?
How do I get back to the main jsp page. In the somepage.jsp I have tried
the following:
<%
response.sendRedirect(response.encodeURL("/TestProduct/application/TestProdu
ct")); %>
<jsp:forward page="<%=createURL(request, getHomePage(request), null)%>">
<jsp:forward page="<%=createURL(request,
response.encodeURL(getTrafficURI(request)), null)%>">
<jsp:forward page="<%=createURL(request, 'portal.jsp', null)%>">
<jsp:forward page="<%=createURL(request, getHomePage(request), null)%>">
<jsp:forward page="<%=getTrafficURINoContext(request)%>">
Sometimes one of them works, other times they don't. I still don't get the
difference between these. Yes, I have looked at the JavaDocs, but I still
don't get it. I am hoping that there is someone out there that has been
through these leaning pains that can help out with this!
I have one situation where I am at a standalone jsp page in the portals
directory. Depending on which button the user selects, I either want to
redirect back to the main portal page, or back to a login screen by logging
the user out (I require a login on all pages except the login page). Going
to the main page required using the sendRedirect. None of the jsp:forward
commands would work. I still havent been able to figure out how to log a
person out. I was trying to use jsp:forward back to portal.jsp with a
jsp:param of headerAction="signout", but that didn't work either.
Am I making this harder than it should be?
Thanks for any help any one can offer.
Ken Lee
[email protected]
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com
[att1.html]
Maybe you are looking for
-
I want to be able to create directory user ID for the iPlanet administrators. They should be able to access the admin console and all the instances created. They should be able to configure each instance and directory. I was able tocreate Admin Serve
-
Satellite C850-1CF and Win 8 - need to boot from CD
Hello, I need to boot from a CD on my C850-1CF which came with win8 preinstalled. F12 is not presented at boot time. I understand this is because of UEFI. To boot from a CD, what should I do (change boot to legacy ?). If so, how do I revert back to U
-
Can I get more sizing information in scripted JPEG exports?
Exporting to JPEG from script seems to give less size/resolution information than exporting from AI itself. This manifests itself when opening in Microsoft Word, when the 'from AI' JPEG appears correctly sized, whereas the 'from script' JPEG just fil
-
Activity on odd numbered cores
Hello all... I upgraded to Snow Leopard and have noticed an interesting phenomenon. When running Activity Monitor and using the cpu activity or cpu history windows, I see activity on odd-numbered panes only. I.e. Core 1, 3, 5, 7, -up to 15. I only se
-
Calls garbled or dropped when standing too close to wifi router
I'm having a problem with dropped calls that I could never figure out. Until I finally noticed the pattern. It seems that whenever I'm close to my Linksys router (even though I'll have full bars) my iPhone 3G calls will start to get a bit garbled. It