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
Similar Messages
-
Installing FIM Reporting in Productrion Server with mutilple portal
Hi,
I have 5 FIM Portal Server in production. I need below clarification.
Can you confirm if I can install FIM Reporting in just one server which have FIM Service installed on that?
Or
Should we run this on every FIM Service Portal [Suppose we have 5 Portal Servers]?
Can someone clarify my doubt?
I understand FIM Reporting is a component of FIM Service. So FIM Reporting installation should not depend on how many portal production architecture have, it can be installed on one of the FIM Service Server.
Aswathy RajOn Mon, 27 Jan 2014 10:44:13 +0000, Aswathy Raj wrote:
I have 5 FIM Portal Server in production. I need below clarification.
Can you confirm if I can install FIM Reporting in just one server which have FIM Service installed on that?
Or
Should we run this on every FIM Service Portal [Suppose we have 5 Portal Servers]?
Can someone clarify my doubt?
I understand FIM Reporting is a component of FIM Service. So FIM Reporting installation should not depend on how many portal production architecture have, it can be installed on one of the FIM Service Server.
FIM Reporting really has nothing at all to do with the portal directly:
http://technet.microsoft.com/en-us/library/jj133842%28v=ws.10%29.aspx
Paul Adare - FIM CM MVP
I hope that's not UI -- but the proper term is a "Jet database", accessed
through the "Jet engine". A fitting name, considering that it sucks and
blows. -- Felix about Exchange's mailbox format -
MicroSoft Content Management Server with WL Portal 10
Hello,
Has anyone got experience with integrating MS Content Management Server with the BEA WL Portal 10?
i need develop a custom SPI?
Comments, Issues, opinions?
Best Regards,
Zarco------- Pallav Tandon wrote on 1/18/05 1:37 PM -------Cam you elaborate more on the type of integration you are looking for.WE have done integration at portlet level...crawler level etc for MCMS .. I can share my experiences if you can provide some direct queries
Hi Pallav, we are also contemplating integration of MSCMS 2002 with plumtree. Can you describe what types of integration you have done?
- Brandt -
Weblogic server with Websphere Portal server
Hi,
I am having this peculiar problem.
I am using Websphere Portal Server and accessing an application which is running
on Weblogic
6.1. I am also using struts on both the portal server and weblogic server.
The first time I access a jsp which is on weblogic from websphere portal I get
it fine.
I have button on this jsp on submit of which another jsp on weblogic should come
up.
The problem is that on click of the button the URL which is being formed is
<ip of weblogic>/<path of portal server>.
I have no clue why this is happening and its driving me crazy.
Can anyone tell me whats happening?
Thanks
SiriSiri-
This sounds like a URL rewriting issue with whatever proxy or tool you are using
to interface from WS to WLS. Basically, for the setup to work, any URL's that
are contained in the content served up by your WLS instance will have to be rewritten
such that your WS instance knows that the request is actually intended for the
WLS server.
-Brodi
"Siri" <[email protected]> wrote:
>
Hi,
I am having this peculiar problem.
I am using Websphere Portal Server and accessing an application which
is running
on Weblogic
6.1. I am also using struts on both the portal server and weblogic server.
The first time I access a jsp which is on weblogic from websphere portal
I get
it fine.
I have button on this jsp on submit of which another jsp on weblogic
should come
up.
The problem is that on click of the button the URL which is being formed
is
<ip of weblogic>/<path of portal server>.
I have no clue why this is happening and its driving me crazy.
Can anyone tell me whats happening?
Thanks
Siri -
How to configure Content server with Oracle Portal
I am working on oracle portal using JDeveloper 11.1.1.5.0. I need to configure Content server to work with UCM. Which content server version should i use and what basic steps required to configure it.
OS environment is Windows XP SP3.
Database server is Oracle 10gR2Hi
"I need to configure Content server to work with UCM." - I am not clear on this .
UCM is content server .
Now if you are looking to have UCM contents rendered on Oracle Portal then you will need to use Content Portlet Suite .
Hope this helps .
Thanks
Srinath -
Getting error on console after configuring MS SQL DB server with portal
Hi,
I am using WebLogic portal 10.2. I have configured MS SQL server with this portal as mentioned in:
http://edocs.beasys.com/wlp/docs102/db/SQL.html
After successfully performing all the steps mentioned in above link, when i try to start WebLogic Portal
server i get following error on console:
<Mar 17, 2009 2:00:31 PM GMT+05:30> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\wlserver_10.0\samples\domains\portal\servers\portalServer\logs\portalServer.log is opened. All server side log events will be written to this file.>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Error> <Security> <BEA-000000> <[Security:090759]A SQLException occurred while retrieving password information
java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Invalid object name 'USERS'.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
Truncated. see log file for complete stacktrace
>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please e
dit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid.
The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the bo
ot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Mar 17, 2009 2:00:39 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
Autonomy server stopped.
and server could not proceed further.
How can we resolve above error?Hi,
I have re-installed WebLogic Portal 10.2 and now i m trying to configure MS SQL server.
When i use configuration wizard tool, i could successfully run database scripts and i could see table being created in database. But when wizard reaches its last screen and installation completes about 75%, wizard screen shows following error:
Traceback (innermost last):
File "<iostream>", line 14, in ?
File "C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py", line 118, in create
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1468)
at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:732)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx319.create$29(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py:118)
at org.python.pycode._pyx319.call_function(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:293)
at org.python.core.PyFunction.__call__(PyFunction.java:179)
at org.python.pycode._pyx322.f$0(<iostream>:14)
at org.python.pycode._pyx322.call_function(<iostream>)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:162)
at com.bea.plateng.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:911)
at com.bea.plateng.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:878)
at com.bea.plateng.domain.DomainChecker.preprocessOutput(DomainChecker.java:135)
at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:248)
at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)
Caused by: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
at com.bea.plateng.domain.script.ScriptExecutor.create4SubTypeObject(ScriptExecutor.java:955)
at com.bea.plateng.domain.script.jython.ScriptProxyFactory.deepCreateProxy4SubTypeObject(ScriptProxyFactory.java:128)
at com.bea.plateng.domain.script.jython.WLScriptContext.create(WLScriptContext.java:728)
... 25 more
Caused by: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:630)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.validate(AbstractConfigAspect.java:1130)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.selfSetValue(AbstractConfigAspect.java:1615)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValueInternal(AbstractConfigAspect.java:1574)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:748)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setValue(AbstractConfigAspect.java:757)
at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleConfigAspects(HTableEditOperation.java:265)
at com.bea.plateng.domain.script.ScriptExecutor.create4SubTypeObject(ScriptExecutor.java:930)
... 27 more
Caused by: java.beans.PropertyVetoException: The property value is duplicated.
at com.bea.plateng.domain.event.aspect.UniqueValueValidateListener.valueChanged(UniqueValueValidateListener.java:127)
at com.bea.plateng.domain.event.aspect.ConfigAspectValueListener.vetoableChange(ConfigAspectValueListener.java:138)
at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:189)
at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:156)
at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:139)
at com.bea.plateng.domain.aspect.XBeanConfigAspect.selfValidate(XBeanConfigAspect.java:620)
... 34 more
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.ValidateException: Property "Name" of SAMLCredentialMapperV2 with original name "Provider" is invalid. The property value is duplicated.
at org.python.core.Py.JavaError(Py.java:324)
at org.python.core.Py.JavaError(Py.java:311)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:163)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx319.create$29(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py:118)
at org.python.pycode._pyx319.call_function(C:\Documents and Settings\Administrator\Local Settings\Temp\1\WLSTOfflineIni55090.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:293)
at org.python.core.PyFunction.__call__(PyFunction.java:179)
at org.python.pycode._pyx322.f$0(<iostream>:14)
at org.python.pycode._pyx322.call_function(<iostream>)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:162)
at com.bea.plateng.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:911)
at com.bea.plateng.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:878)
at com.bea.plateng.domain.DomainChecker.preprocessOutput(DomainChecker.java:135)
at com.bea.plateng.domain.TemplateImporter.generate(TemplateImporter.java:248)
at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)
what should i do? -
Any Way to test Integration of File Server with Portal??
Hi all,
I want to integrate File Server with my Portal so that my Application and Data remains seperated.
I have integrated File Server but i am not able to find the Folder of file server in KM.
i have create KM Navigation Iview When i specify any folder that is available in KM it works fine but i can not see the folder of file server...
<b>Is there any test with which i can check that weather my File Server is Integrated properly with my Portal or not?? </b>
Any help will be highly Appretiated ...
its very Urgent!!
Thanks in Advance
VinitHi,
I think already file system repository created in the portal. plz check it
Goto >System Admin>System Config>KM>Content management>Repositories manager>File system Repository. or create a new repository..
You can use File System Repository so that you can integrate ur file server with portal. Refer this link
http://help.sap.com/saphelp_nw04/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm
Regards,
Senthil K. -
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 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 -
WEBI reports integration with SAP portal
Hello BO experts-
Our client is looking to integrate WEBI reports with SAP portal. I found some documents which describe about have an url iview.
I just want to find out if it is possible to federate webi server with SAP portal.
Thanks,
Sharath.I don't think you can federate WebI server with SAP portal.
You can use WebI report IDs and integrate with Portal.
Bashir Awan -
Integrating java application running on OC4J server with EP Iview
Hi,
I Want to Integrate Java Application running on OC4J server with my Enterprise portal
Can any one please help me out in this??
Regards
Padma NHi Padma
Its possible to integrate a java application running in the other server with enterprise portal.In portal i think there is a IView template call Java application template.Using this generally we can do this.But in you case what type of a java application is it?Just a class or webapplication or a server side application.This you can also acheive using a webdynpro applications as these are very flexible with integration into EP.In webdynpro you can use suspend and resume plugs to navigate from one application to other application.I have given my ideas how to implement.But integration mainly depends upon your landscape and version compatibilities and type of the application you need to integrate.
Hope this answer helps you in implementation.
Regards
Kalyan -
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. -
How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column
Hello JDevTeam & JDevelopers,
I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
The following are the steps taken thus far.
Step1: Create table named test in the 2005 MSSQL Server (see script below).
Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
Library Name = Ms2005Jdbc
Class Path = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
(note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
Step3:Create New Database Connection;
Connection Name = testconn1
Type = Third Party JDBC Driver
Authentication Username = sa, Password = password, Check Deploy Password
Connection
Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver
Library = Ms2005Jdbc
Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
Test Connection = Success!
Step5: Create a new application workspace using Web Application default template
Step6: In Model project, Create new Business Components Diagram.
Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
I am totally stuck! Can anyone provide a solution?
Thanks for you help,
BG...
Create table named test
use [testdb]
go
set ansi_nulls on
go
set quoted_identifier on
go
create table [test](
[testid] [int] identity(0,1) not null,
[testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
constraint [pk_test] primary key nonclustered
[testid] asc
)with (pad_index = off, ignore_dup_key = off) on [primary]
) on [primary]Figured it out!
When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
Set Refresh on insert/update = no.
Set Updateable = never.
Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
Simple enough but I have been away from this stuff for awhile.
BG... -
How to export data with column headers in sql server 2008 with bcp command?
Hi all,
I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
am trying to import data with bcp command data has been copied but column names are not came.
I am using the below query:-
EXEC master..xp_cmdshell
'BCP "SELECT * FROM [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
Thanks,
SAAD.Hi All,
I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
DECLARE @BCPCMD
nvarchar(4000)
DECLARE @BCPCMD1
nvarchar(4000)
DECLARE @BCPCMD2
nvarchar(4000)
DECLARE @SQLEXPRESS
varchar(50)
DECLARE @filepath
nvarchar(150),@SQLServer
varchar(50)
SET @filepath
= N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
as varchar(4))
+RIGHT('00'+CAST(MONTH(GETDATE())
as varchar(2)),2)
+RIGHT('00'+CAST(DAY(GETDATE())
as varchar(2)),2)+'.log" '
Set @SQLServer
=(SELECT
@@SERVERNAME)
SELECT @BCPCMD1
= '''BCP "SELECT
* FROM [tempdb].[dbo].[wErrorLog] " QUERYOUT '
SELECT @BCPCMD2
= '-c -t , -T -S '
+ @SQLServer +
SET @BCPCMD
= @BCPCMD1+ @filepath
+ @BCPCMD2
Print @BCPCMD
-- Print out below
'BCP "SELECT
* FROM [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
EXEC
master..xp_cmdshell
@BCPCMD
''BCP' is not recognized as an internal or external command,
operable program or batch file.
NULL
if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
EXEC
master..xp_cmdshell
'BCP "SELECT * FROM
[tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
Thanks, SAAD. -
How to integrate File Server with Portal??
Hi all,
can any one tell me that how interegate the File Server With Portal Server??
In my portal server under home tab i have sub tab (second level navigation) of File server.Whe i click this tab it throws an syntax error
ie
System Error
An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.
Exception Class :: class com.sapportals.wcm.repository.NotSupportedException
Exception Message :: Not Implemented
thease are the steps that i have taken
>created HTTP System..
>created WebDAV Repository.
>Created Cache.
>Created KM WebDAV System.
>Created Iview and in iview i have to specify the <b>Path to Initially Displayed Folder</b>
i have specified the folder of file server that i want to display..
but i get the same syntax error ..
infact i dint get that folder in KM.
But when i specify the folder that is present in KM its Work fine..
Now the Scnerio According to me is that File server is not integrated properly
if it would be integrated properly i would be able to see the folder of File server in KM...
am i correct ??
please Guide me to integrated the File Server Properly??
Points will be given for any help..
Regards
VinitHi Vinit,
if you want some Windows File Server integrated into Portal, please do not use a WebDAV Repository, but use the File System Repository instead. Therefore you need to configure the according Repository Manager. Please refer to this documentation:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/ed/b334ea02a2704388d1d2fc3e4298ad/frameset.htm">Integrating Documents from a Windows System into KM</a>
HTH,
Carsten
Maybe you are looking for
-
Sales order qty not updated in copa
Hi Gurus, My client has activated Costing based COPA. We have activated Incoming sales orders with option Transfer with date of deliery/scheduled billing date. When We are posting sales order we are able to see a copa document with record type A. In
-
Confirmation on Date = Standard Date migration
Our 1st test upgrade from 11.0.3 to 11.5.9 is underway and I'm trying to understand the "Convert flexfield Data and DateTime value sets" step. This step deals with the Date format to Standard Date format in relation to Flexfields and/or Concurrent Pg
-
Preventing Netbean's UML code generation problem
When I generate code from my UML diagram in netbeans, how do I prevent it from making a local version of java api classes and interfaces? Example: I have classes that extend JFrame. When I generate the code, it puts and an empty JFrame class in my so
-
Query Deletion Problem..
Hi Guru I have process in Business like Table Line_Item Columns are Line_ID Product_ID Product_name Status 1 111 hosted Id Y 2 112 AutoAttend+10 (Parent) Y 3 112 Autoattend
-
Will accountability software still pick up unsuitable browsing when the computer is in private browsing mode?