WPCP V5 YourCo Sample
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > WPCP V5 YourCo Sample




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

AEagle is offline     WPCP V5 YourCo Sample  
AEagle


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for AEagle Click here to Send AEagle a Private Message Find more posts by AEagle Add AEagle to your buddy list
 
05-13-04 01:22 PM

I have successfully imported the YourCo sample in WPCP and my WPCP50 db2
authoring server database is filled with content (table NEWS, ...).

.then  I wanted to publish my content on the runtime server.
My questions are :
- what is the target database? where is it configured?
- where are the runtime tables? In WPS 4.2, there used to have a wcpdemo
sample page to create runtime tables. Is there the same mecanism in WPS5?
- is there a specific name for the runtime datasource? 
- how to setup runtime database properly against V5 sample?

ANY HELP WOULD BE GREAT!




[ Post a follow-up to this message ]



AEagle is offline     solution...  
AEagle


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for AEagle Click here to Send AEagle a Private Message Find more posts by AEagle Add AEagle to your buddy list
 
05-14-04 05:37 AM

I found out this by myself. If any one else is having a same problems here i
s the answers

The trick is to use the proper publish URL and create the datasource properl
y.  Because of the changes to datasources in WAS v5 with regards to J2EE 1.2
 vs. J2EE 1.3 apps, you have to create a v5 datasource with a JNDI name of '
jdbc/wpcpsample'.  This can point to any DB that IS NOT the same as the WPCP
 authoring DB.  If you use the same DB, then you'll hit some major problems 
with the runtime and authortime WPCP resource tables overwriting each other.
 

Now, because the datasource is v5, and the portlets that pull the data back 
are v5, you can't publish to <hostname>/wps/PersAdmin/publishtarget, as that
 is a J2EE 1.2 app, and requires a v4 datasource.  Consequently, there's ano
ther publish target in the sample10.war, which should have a URL like <hostn
ame>/wps/PA_1_0_69/publishtarget, you'll have to check where the sample10 go
t installed under WPS_HOME/installedApps (for the '1_0_69' part, yours may b
e different, as it depends on your WPS install)




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:57 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register