How to create a JDBC system
Hi,
I am currently trying to create a JDBC system, but i always get an error trying to test the connection.
I am running Portal EP7 patch12 on Oracle. I am trying to access a custom table on the oracle portal database.
I created a datasouces in the visual admin and it works great when i do my test.
Does anyone have a step by step procedure to create a JDBC in the portal, that would be great.
Thanks
Jean
I got my connection running successfully. Here is what i did:
I am trying to connect to an Oracle 10.2 db, using Portal NetWeaver 7.0 (2004s) patch 14.
1)
- Create JDBC system from template
- Connection timeout=10000 (optional)
- URL=jdbc:sap:oracle://<server>:<port>;sid=<YourSID>;
- Driver Class Name=com.sap.portals.jdbc.oracle.OracleDriver
- User Mapping Type = Admin, user
2) Create an alias i.e. testconnection
2) Select permissions and assign the everyone group to your connection, don't forget to check the end user box
3) User Mapping: Map your everyone group to a user that have access to the DB.
Test your connection.
Please note that this is only to see if your connection is working, in a Prod environment increase your security.
Please let me know if you have any questions.
Jean Seguin
Similar Messages
-
How to create a new System !!!!!!!
Hi,
I have a database in SQL Server and I want to connect to it in my code using the system Alias can anyone plz tell me how to set up my Database.Hi,
You need to create a JDBC System in portals for the same.
Please see my reply to Asad Rizvi's message today titled 'Preview of ESS MSS iviews in EP 6.0 SP2'.
You need to follow the same path for the documentation you require, only in the last step instead of SAP system properties, see details of JDBC system properties.
Regards,
Aniket -
Problem in Creating a JDBC System - SQL Server
Hi All
I failed in creating a JDBC System(SQL Server). I am using SAP EP 7.0 SP 9. I tried to create the JDBC system with the following properties:
I am listing them Category wise:
Connection Properties:
1. Connection Timeout: 300
2. Connection URL: jdbc:sap.sqlserver://<server name> : <port name>; DatabaseName=master
3. Driver Class Name: com.sap.portals.jdbc.sqlserver.SQLServerDriver
4. Validate Connection: Yes
UserManagement Properties:
5. User Mapping Type: admin;user
Please help me out in making this work. And let me know if any changes to incorporated.
Regards,
Vijay.Hi vijay,
I have tried this thing sometime back. But when i create a JDBC system, I never give the <b>Connection Timeout</b> and change the<b> Validate Connection</b> from No to Yes. I just give the <b>Connection URL</b> and the <b>Driver Class Name</b> in the Connection Properties dropdown.
Try making these changes and check whether the user mapping is done correctly. Also check whether the Connection URL and the Driver Class Name are correct or not. Have a look at the following link:
<a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/VC/JDBC%2bConnection%2bSetup">https://www.sdn.sap.com/irj/sdn/wiki?path=/display/VC/JDBC%2bConnection%2bSetup</a>
Let me know if this works.
Bye
Ankur
Reward points if it helps!! -
Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)
I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
I get the following error:
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the back-end application using the connector defined in this system object
Results
Default alias retrieved successfully
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
which says that VC7.1 can connect to SAP backend
and web services only, and there is no direct connection to the db.
Help needed please.Hi Dharmi
Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
CE7.1.1 will be released at September 2008 for ramp-up customers.
There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
Many layout & modeling improvements
Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
Regards,
Shai -
How to create the Business System both sender and receiver in SAP XI / PI
Dear All
kindly let me know how to create the Business System both sender and receiver in SAP XI / PI
Regards
BlueHi,
If by any chance you are not able to find these....
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/workingwithSystemLandscapeDirectory+%28SLD%29&
http://help.sap.com/saphelp_nw04s/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/f1/92b248db68409487661ff13239127d/content.htm
Regds,
Pinangshuk. -
How to creat a Business System and Tech System in SLD for the DB2 DataBase?
Hi,
How to creat a Business System and Tech System in SLD for the DB2 DataBase?
JosephHi,
Technical System
In SLD, click on technical landscape->New Technical System->WebAS ABAP.
Business System.
1.Goto Business Landscape->New Business System->Name the business system.
2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.
Go Through this links..
TBIT41:
https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
TBIT42:
https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
TBIT43:
http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
TBIT44:
https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
Also try elearning.
https://www.sdn.sap.com/irj/sdn/elearn
Thanks,
Satya Kumar -
Hi All,
I am using SAP BW 3.5 and R3 ECC 5 versions (IDES system).
Now how to create connections between BW and R3.
Can anybody help me..
Thanks in Advance
NarendraHi Sunil Reddy,
Thanks for your reply, When I tried to create a SS by following your steps. The SS is already exists.
I am using BW 3.5 and R3 ECC 5 version. In my SAP logon pad. I can see only only 1 entry (I can use both BW and R3 in one screen). I can use BW and R3 transactions in single screen. The application server is same for BW and R3.
I tried to create connection between BW to BW and R3 to BW. But failed.
Can anyobdy help me on this issue.
Thanks in Advance
Narendra -
How to create a new System Data
Hi guys.
I need to create a new System Data with which to filter a list output using a field derivated from siebel marketing. This data isn't between the standard system data like CampaingCode, SegmentId .....
Now i discover one .XML file (someting like Marketing....xml), in the OracleBIData/web/config directory, in which there are defined all the standard System data like:
<WebExpression>
</WebExpression>
Can I try to modify this file and add a new system data? if the answere is YES, hao i can do this? My real problem is how take a system value, from siebel marketing, to assign at this new systme data.
Thanks in advance
Best reguardsHi
thanks for your solution,
i created a new Data carrier type AC for viewing auto cad files and given the path as, C:\Program Files\AutoCAD 2006\acad.exe"
and at Define serveres and files or folders,
defined the data carrier as Autocad type was default as AC,
at Identify frontend computers i could not enter any thing it is only in display form and no values were there and niether could be entered.
and my datacarrier created is not there to be selected while creating documents.
through CV01N create documents.
i suppose this is because i have already defaulted PC as the data carrier type. default system as my data carrier.
please clarify my Below douts also
as in my configuration i have defined only one Datacarrier ie Default PC, will this do all the need full, or will lead to to any complication in any aspect,
i want to know what is the Advantages of defining many datacarriers or the Limitation of a single Datacarrier.
iam facing a situation where a particular software say PDF reader or AutoCAD, is not installed in all the System. and iam thinking of installing this Software in a particular System or say in the Content Server system.
can this software be made used to view these cad and Pdf files on the front end system where this software is not installed,
Say in a particular PC the software AutoCAD is not installed and if he wants to View the AutoCAD file,
another problem iam facing is
while Creating a New AutoCAD file in my system through DMS Create, it gives a message "Drawing file is not Valid"
while i can create a Word Doc File, but it is not possible to create a new AutoCAD file throuh DMS, (AutoCAD is Installed in my system)
also i have no idea of how to create a New Data carrier type,
what exactly have to be filled in
1, define data carrier type
2, define server and files or folder
3, identify frontend computers
please provide configuration details or if possible screen shot details
points will be awarded for sure.
Thanks and Regards
Sathish -
How to create WebService Source System?
Hi,
I am trying to integrate XI and BI. How do I create a webservice source system? When I create the webservice source system in RSA1, it asks for a logical system name. Do I need to create a RFC destination for this logical system? What other steps should be done here?
Thanks,
DeepthiThank you. I am actually referring to step 5 in the below how-to-guide.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f4dce
The step 5 says "create webservice source system". But, it does not give details as to what steps should be taken to actually create this. Anyone, used this approach?
Thanks,
Deepthi -
How to create a full system image for Solaris 10 with ZFS
Dear friend,
could you please advice which way to create a full system image for Solaris 10 with ZFS is trusted and practically used?
I'm searching the analogy like Norton Ghost or Acronis True Image but with ZFS support.
I have x86 server Sun Netra X4270.
Thanks in advance,
DinaOne more question Filip,
is it correct, that I should make 2 separate backup for ispool and rpool?
And is it important in which order to restore them from backup?
bash-3.2# zpool list
NAME SIZE ALLOC FREE CAP HEALTH ALTROOT
ispool 136G 8.08G 128G 5% ONLINE -
rpool 136G 44.1G 91.9G 32% ONLINE -
bash-3.2# zfs list
NAME USED AVAIL REFER MOUNTPOINT
ispool 8.08G 126G 31K /ispool
ispool/iserver 8.08G 126G 8.08G /export/home/iserver
rpool 44.4G 89.5G 46.5K /rpool
rpool/ROOT 39.1G 89.5G 31K legacy
rpool/ROOT/firstbe 39.1G 89.5G 14.1G /
rpool/ROOT/firstbe/export 20.1G 89.5G 32K /export
rpool/ROOT/firstbe/export/home 20.1G 89.5G 20.1G /export/home
rpool/ROOT/firstbe/opt 651M 89.5G 133M /opt
rpool/ROOT/firstbe/opt/SMAW 518M 89.5G 518M /opt/SMAW
rpool/ROOT/firstbe/usr 3.45G 89.5G 3.45G /usr
rpool/ROOT/firstbe/var 867M 89.5G 867M /var
rpool/dump 1.00G 89.5G 1.00G -
rpool/swap 4.25G 89.8G 4.00G -
Br,
Dina -
How to create a JDBC datasource thru script/xml?
Hello All,
Is there any way to create a JDBC datasource using some script or xml file that
can be deployed to WLS 7.x?
This feature is required for our J2EE application installation program.
rgds
MSHi
See this thread for connecting SQL Server
Re: what is the process to connect to database from webdynpro ?
For Oracle
try
{DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
}catch(Exception e){
see this thread
Webdynpro and Oracle
Kind Regards
Mukesh -
How to create a file-system repository
I am tring to find the path
Content Management>Repository Managers>File System Repository.
I cannot find this under Content Management.
I am trying to create an external repository on a UNIX filesystem
Thanks
JBhi Jeremy,
If you are using EP 6, for creating the file system repository go to the following path.
System Administration->System Configuration->Knowledge Management->Configuration->Content Management -> Repository Manager -> File System Repository.
Regards,
Moiz Khan -
How to create a new system folder?
When click on the Browse Conent, how to create the top-level folders like 'Contribution Folder' in UCM11g? Thanks for your help.
In Oracle support KB
Note
How to Manually Create Root Level Folders (Doc ID 555806.1)
May help you. If it does not work for later versions of the CS please add comments to the note for the support KM team to fix the note if needed. -
I need to create a login system for an application. The application will be a Flex front-end connecting to a Postgres database through ColdFusion. I can connect to my database but cannot find a good way to check user credentials and save data in a session. Can someone provide some sample code or suggestions (I have already reviewd Bruce Phillips blog on the subject). I assume this is a standard activity in Flex but cannot find a lot of guidance. Any help would be appreciated. Details follow:
The use case is quite simple:
Assumptions:
-the user has an account and supplies correct information
-Flex can connect to the Postgres databse through ColdFusion datasource.
Actions:
User supplies username, password and role and clicks submit button. System validates that the username/password/role combination matches and displays a viewstack based on the role provided.
Thanks!After some more seraching and playing around, I found a pretty useful example out there on the Flex Cookbook beta site.
The post by stinasius is located at http://www.adobe.com/cfusion/communityengine/index.cfm?event=showDetails&postId=12346&prod uctId=2&loc=en_US -
Create a JDBC system resource using MBeans i Weblogic v10 server
Hi,
I'm trying to create a JDBC resource on Weblogic V 10 Admin server from a remote java client using MBeans. At the client side the following exception is thrown:
Exception in thread "main" weblogic.management.NoAccessRuntimeException: [JMX:14
9520]An attempt was made to Register an MBean with ObjectName com.bea:Location=w
l_server,Name=Test-examples-demo,Type=JDBCSystemResource ObjectName in com.bea d
omain.
at weblogic.management.mbeanservers.internal.SecurityInterceptor.checkFo
rBEADomain(SecurityInterceptor.java:1263)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.createM
Bean(SecurityInterceptor.java:148)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterce
ptor$1.run(AuthenticatedSubjectInterceptor.java:62)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterce
ptor.createMBean(AuthenticatedSubjectInterceptor.java:60)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.createMBean(WLSMBe
anServer.java:157)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti
onImpl.java:1363)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectio
nImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
(RMIConnectionImpl.java:1245)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R
MIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.createMBean(RMIConnecti
onImpl.java:220)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown S
ource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:5
9)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicSer
verRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
what could be the cause of the exception? Any inputs/reference in this reagard would be helpful.
A sample client which creates the same on weblogic 10 server would be a great help.
Thanks in Advance,Preethi Ghalke wrote:
Hi,
I'm trying to create a JDBC resource on Weblogic V 10 Admin server from a remote java client using MBeans. At the client side the following exception is thrown:
Exception in thread "main" weblogic.management.NoAccessRuntimeException: [JMX:14
9520]An attempt was made to Register an MBean with ObjectName com.bea:Location=w
l_server,Name=Test-examples-demo,Type=JDBCSystemResource ObjectName in com.bea d
omain.Hi. There's probably nothing wrong with your code,
but the client probably doesn't have the WebLogic
permissions to do the request. Do check our security
documentation or ask official support.
Joe
at weblogic.management.mbeanservers.internal.SecurityInterceptor.checkFo
rBEADomain(SecurityInterceptor.java:1263)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.createM
Bean(SecurityInterceptor.java:148)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterce
ptor$1.run(AuthenticatedSubjectInterceptor.java:62)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterce
ptor.createMBean(AuthenticatedSubjectInterceptor.java:60)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.createMBean(WLSMBe
anServer.java:157)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti
onImpl.java:1363)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectio
nImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
(RMIConnectionImpl.java:1245)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R
MIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.createMBean(RMIConnecti
onImpl.java:220)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown S
ource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:5
9)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicSer
verRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
what could be the cause of the exception? Any inputs/reference in this reagard would be helpful.
A sample client which creates the same on weblogic 10 server would be a great help.
Thanks in Advance,
Maybe you are looking for
-
Adobe Premiere Elements 12 Editor asks for another keyword approval
I have yesterday purchased Adobe Premiere Elements 12 from an USA based online retailer. The installation was done with the correct key provided by the retailer. Since I am living in Germany, I have installed the program in German language. The produ
-
Downloading files FROM a database
I'm stuck with a problem I used a <input type=file .../> tag to add my file into the database first i converted it into a byte[] and now it seems good stocked in my SQL Server database... The point is how to get it on my harddisk now ?? how can i do
-
How to get photos from iphone 5 to macbook pro without aperture or iPhoto
how do i get my photos on to my macbookpro from my iphone 5 without aperture or iphoto?
-
Time Capsule; To buy or not to buy?
OK - I have read the reviews ,but want the product. I am in need of a 802.11N wireless router AND more storage for back-up. This seems like the perfect option, but I don't want the unit to die after 18 months. I am also in the market for Apple TV, so
-
Error in Java Program when passing table to RFC function . JCO is used
Hai All, I developed a JAVA application to update data into SAP using JCO via RFC. When i pass table to the function module i am getting the below error com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Conversion from type T to D not sup