Issues while JDBC System Object Creation for accessing MS SQL 2000 Server
Dear Experts,
I am creating system object to connect to MS 2000 server in Ep 7.3
1) created system with all the properties
2) User mapping done
3) permissions ok
but still while testing connection its giving error
"No connection to system DBSQL found:
com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not create JCO connection.
'user' missing"
""" Connection Test for Connectors:
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. """"
Dear Mr. Arun,
thanks for the valuable sap note
I have applied the note but same result :
No connection to system DBSQL found:
com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not initialize physical connection.
Connection Failed: A nested exception occurred. Could not create JCO connection.
'user' missing
1) i have created JDBC Driver as mentioned in sap note
2) created System object
3) created destination as required in EP 7.1 and above
4) mapped user in user administration
when i am testnig connection its giving above mentioned error
same system object when i am creating for EP 7 its working fine with all 3 jar files and system creating succesfully
plz help
Similar Messages
-
Is it possible to restrict the object creation for stateless session beans
Hi,
Is it possible to restrict/fix the ejb object creation for stateless session beans in application server?
For example, i want to configure the application server ( am using JBOSS ) to create maximum of 10 session bean objects. and if any requests for the stateless session bean come, as application server has created 10 objects, the requests should be blocked.
Thanks in advance,
nvseenuYou can keep a counter in the application code. A static var won't work, but an entity and a consistent id should. This version would affect performance, but it would be portable to other app servers.
// ConstrainedBean.java
package unq.ejb;
import javax.ejb.Stateless;
import javax.ejb.CreateException;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.persistence.PersistenceContext;
import javax.persistence.EntityManager;
@Stateless
public class ConstrainedBean implements Constrained {
final static int DEFAULT_COUNTERID = 1;
@PersistenceContext EntityManager em;
@PostConstruct
protected void init() throws CreateException {
ConstrainedBeanCounter counter =
em.find(ConstrainedBeanCounter.class, DEFAULT_COUNTERID);
if( counter == null ) {
counter = new ConstrainedBeanCounter();
counter.counterId = 1;
counter.counterValue = 0;
em.persist(counter);
if( counter.atMaximum() ) {
throw new CreateException("error attempting to create > 10 beans");
else {
counter.increment();
@PreDestroy
protected void destroy() {
ConstrainedBeanCounter counter = em.find(ConstrainedBeanCounter.class,
DEFAULT_COUNTERID);
counter.decrement();
public void doSomething() { System.out.println("doSomething()"); }
// ConstrainedBeanCounter.java
package unq.ejb;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class ConstrainedBeanCounter implements java.io.Serializable
@Id public int counterId;
public int counterValue = 0;
public void increment() {
counterValue++;
public void decrement() {
counterValue--;
public boolean atMaximum() {
return counterValue > 9;
} -
HT4623 We're sorry, we are unable to continue with your activation at this time. Please try again later, or contact customer care.----How to fix this issue while setting up the iphone for the new ios?
If you don't have a SIM card in the phone, you must put one in. It's required for activation.
If you do, then your phone was probably hacked to unlock it from the original carrier. Contact them and see if they will unlock it. If they will not do so, then you can't use that phone. -
The syntax for accessing MS SQL db from JSP
Can anybody help me with the syntax for accessing MS SQL db from JSP???
This is what I do when I use MySQL:
Class.forName( "org.gjt.mm.mysql.Driver" );
Connection conn = DriverManager.getConnection(
"jdbc:mysql:://um" ,
What do I write when it is MS SQL and where do I install the driver
BR SorenCan anybody help me with the syntax for accessing MS
SQL db from JSP???
This is what I do when I use MySQL:
Class.forName( "org.gjt.mm.mysql.Driver" );
Connection conn = DriverManager.getConnection(
"jdbc:mysql:://um" ,
What do I write when it is MS SQL and where do I
install the driver
BR Soren
One way of doing this is to use ODBC. Here's an example:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection("jdbc:odbc:<odbc name>", "<login>", "<password>"); -
Easiest way to search for a keyword in over 100 dts packages on a complex SQL 2000 server
Hi,
Can anyone tell me the easiest way to search for a keyword (e.g. myfilename.txt) in over 100 dts packages on a complex SQL 2000 server please. I've searched the internet for a solution, and there seem to be various third party tools available, etc. However
ideally I would like to be able to run a block of code which returns the result within query analyser, since this SQL 2000 server is a production server and I'd rather not have to go through change management for investigation purposes.
Kind Regards,
Kieran.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/See if this helps
http://www.sqlservercentral.com/Forums/Topic169278-19-1.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Posting period issue while deleting a confirmation posted for a limit PO
Hi ..
I am facing an issue whiel deleting a confirmation posted for a limit PO.
Confirmation was posted for a limit PO in SRM and it created a service entry sheet in SAP. If I deleted that confirmation in the same posting period, then it is getting deleted. No issue here.
But if I deleted that confirmation in the next posting period then the reversal document is going to error in process. RZ20 is showing the error "Positng only possible in periods 2012/2 and 2012/3".
Posting date of reversal document is current date only and the backend posting period is 2012/3, but still it is failing with this posting period error.
If I tried to delete a confirmation posted for a normal PO then I could able to delete it even in next posting period by just changing the posting date.
Why this posting occurs while deleting the limit confirmation, even through the posting date is falls within the backenn posting periiod? Is it like, SAP system is trying to delete the service entry sheet in original posting period? Kindly help.
I am in SRM 5.0 (server 5.5) SP12.
Thanks,
ArunOK.
Well, if the variable is not used in any interval selection, then I would say "something happened to it".
I would make a copy of the query and run it to check if I get the same problem with period 12.
-> If not, something is wrong in the original query (you can proceed as below, if changes to original are permitted).
If so, then try removing the variable completely from the query and hardcode restriction to 12.
-> If problem still persists, I would have to do some thinking.
If problem is gone, then add the variable again. Check.
-> If problem is back, then the variable "is sick". Only quick thing to do, is to build an identical variable and use that one.
If problem also happens with the new variable, then it's time to share this experience with someone else and consider raising an OSS.
Good luck!
Jacob
P.S: what fisc year variant are you using?
Edited by: Jacob Jansen on Jan 25, 2010 8:36 PM -
Error while Importing SYSTEM objects into 9.2.0.6
HI,
I got the following error while importing data into 9.2.0.6 DB .
It is related to a SYSTEM object.
. importing SYSTEM's objects into SYSTEM
IMP-00017: following statement failed with ORACLE error 2270:
"ALTER TABLE "DEF$_CALLDEST" ADD CONSTRAINT "DEF$_CALL_DESTINATION" FOREIGN "
"KEY ("DBLINK") REFERENCES "DEF$_DESTINATION" ("DBLINK") ENABLE NOVALIDATE"
IMP-00003: ORACLE error 2270 encountered
ORA-02270: no matching unique or primary key for this column-list
Constarint exists on Composite Primary Key on the parent table.
Can anybody help me out on this.
Regards,
Sumit Singh ChadhaHi,
don't mentioning why are You importing SYSTEM objects, the error that You have, just looking the message, is due to an export done without the clause CONSISTENT=Y (so all relations parent/child preserved) having the replication (the table in error is one of the replication dictionary table) active (not quisced)
Repeat the export operation using CONSISTENT=Y an stop replication activity.
Hope this helps
Max -
Mapping issues while using MapwithDefault Node function for Idoc
Hi Experts,
We are facing issues while trying to generate nodes at reciver side even though it does not exist at sender side.
we are using the matmas05 and we want the nodes E1marcm and e1mardm to generated at target structure.
the structure is like this
Matmas05
idoc
E1maram
segment
E1marcm
segment
msgfn
.....other fields
E1mardm (can be many segments)
segment
lgort
..other fields
E1mpgdm
segment
...e1mpgdm fields
the mapping has been done like:
e1marcm -mapwithdefault-e1marcm
constant -segment
werks-mapwithdefault-werks
other fields(one to one mapping)
e1mardm-mapwith default-e1mardm
lgort-mapwithdefault(value 1000)-lgort
other fields -one to one mapping
now the problem we are facing is when e1mardm is not existing in source structure the values from the other node of e1mardm(which exists) are getting overwritten into it.
we want only the lgort to be 1000 and the segment should populate at target side.
like
e1mardm
segment
lgort value 1000
Could you please assist in solving this issue and give your valuable suggestions as how could we handle it.
Thanks and regards,
jyotiU will achieve this using UDF function. Map the below Like.
e1mardm-mapwith default(Value Constant)-e1mardm
lgort (A) ---
e1mardm-mapwith default(Value Exit)u2014(EqualsS) (B)- (UDF1)- lgort
Constant(Value Exit)---
Constant(Value 1000)(C)---
Other one to one mapping fields also you should use one more UDF.
Other one to one fields (A) ---
e1mardm-mapwith default(Value Exit)u2014(EqualsS) (B) - (UDF2)- Target
Constant(Value Exit)---
UDF1:
Argument A,B,C and select queue.
//write your code here
int j = 0;
for(int i=0;i<a.length;i++)
if (b[j].equals("true"))
result.addValue(c[0]);
i--;
result.addValue(ResultList.CC);
else
result.addValue(a<i>);
j++;
UDF2:
Argument A,B and select queue.
//write your code here
int j = 0;
for(int i=0;i<a.length;i++)
if (b[j].equals("true"))
i--;
result.addValue(ResultList.CC);
else
result.addValue(a<i>);
j++; -
Keep an object around for the life of the server?
I need to keep some objects around for the entire life of the server.
However would I make sure of that? In other words, how do I prevent them
being gc'd?
TIA,
BillSay I have a singleton. If it wasn't in a app server, I can, for example,
have it instaniated in the main and hold the ref there. But in the app
server, wouldn't such a singleton subject to gc since no one is holding the
ref if no one is using it at the moment? If so, the re-instantiation can be
quite expensive. How can I make sure that doesn't happen?
"Philip Strube" <[email protected]> wrote in message
news:[email protected]..
Hi Bill,
Bill wrote:
I need to keep some objects around for the entire life of the server.
However would I make sure of that? In other words, how do I prevent them
being gc'd?same way as singleton instances are usually kept: in a static variable.
If you hot-deploy your application, but you don't want your mentioned
objects to be destroyed, put the classes in a jar in the server classpath.
If they are in your application's ear or war, they will be destroyed and
re-created on hotdeploy.
If you don't hot-deploy, you don't need to care about.
TIA,
BillViele Grüße ;-)
Philip -
Data convertion for VARBINARY of SQL 2000?
I have a VARBINARY data in my SQL 2000 database. I need to know what will be the
conversion for VARBINARY. I used byte{}, unfortunately it gives SQL EXCEPTION:
Unsupported data type. I also tried String, this time it does not give me SQL
exception Unsupported data type but the data is not the same. All I can do it
check the length. the length is not the same as that in the database..
NEED HELP!!!Bhawna wrote:
I have a VARBINARY data in my SQL 2000 database. I need to know what will be the
conversion for VARBINARY. I used byte{}, unfortunately it gives SQL EXCEPTION:
Unsupported data type. I also tried String, this time it does not give me SQL
exception Unsupported data type but the data is not the same. All I can do it
check the length. the length is not the same as that in the database..
NEED HELP!!! Hi. A verbinary column should be accessible fromm JDBC, via ResultSet.getBytes(),
getBinaryStream(), or getObject(). Let me know...
Joe -
Microsoft Remote Desktop for Mac and Win 2000 Server
Hello guys,
Could you please confirm that the latest version 8.0.15 is compatible with WIN 2000 Server connections? If not, could you please advise which version of Microsoft Remote Desktop for Mac is the match in order to connect to a WIN 2000 server.
Thank you in advance,
BogdanHello Bogdan
WIN 2000 is supported. See a complete list of supported Windows SKUs here:
https://technet.microsoft.com/en-us/library/dn473006.aspx
Go to the AppStore and download Microsoft Remote Desktop. -
Issue in Planning file entry creation for materials
Hi all,
There are some materials for which there are no planning file entries inspite of having MRP data and valid MRP type.
The reason (1) could be that those materials might have been created before MRP was activated for that plant. Another reason (2)is that materials created by certain batch SAP programs do not trigger the creation of a planning file entry automatically, the way a MM01 normally does when you create a material. Otherwise when a material is created with MRP data & valid MRP type, the material will be automatically included in the Planning File.
Please let me know whether my understanding on the above( reason no.1 & 2) is valid or not. Is there any SAP / OSS document / SAP help related to this information on reason (2) that you can share with us? If you could share any link of any such document, it will be really helpful.
Thanks a lot,
Regards
BrijeshDear,
Reason could be
System will maintain the Planning File Entry Automatically once MRP is activated for particular Plant (T.Code OMDU).But if Materials are created Before this activation then you have to do manual entry of those Materials in Planning File using T.Code MD20 or using Background job MDBT.
If you create the materials or upload materials before activation plant for MRP this may be the cause for this.
Go to OMDU here is tick mark for plant activation for MRP if you activated after material master creation then system will not create planning file entry for these material.
In my case every thing was maintained than also no planned order generated? Pls put some more fact on this.
Before running MRP we used to run MDRE. But in the result spool list there is no content
Create the variant and run it in Back ground
For this you need to you need to create the variant for planning file entry and its consistence check in OMDU and execute it to avoid such type of issue.
Hope clear to you.
Regards,
R.Brahmankar -
Namespace issue while modifying request object
Hi,
This question is about task flow created from BPM worklist. I am updating the request using iterator binding and adding new nodes in the list. I need to get this updated request object back to BPEL. When the object is returned back to BPEL, the new nodes added from ADF don't have the namespace prefixed with the tags. This is creating issue in BPEL. Jdev version 11.1.1.4.0
Is there any way in BPEL while copying / transforming the data, force to keep target variable's namespace? There is another issue where in source namespace is getting copied to target list.
Thanks
AshwiniHi,
You can use a xslt transformation in bpel to get the data from adf back to your namespace before you add the nodes in the list...
There's a xslt sample here...
http://stackoverflow.com/questions/3463943/changing-namespace-for-xml-file-in-xsl-translation
Cheers,
Vlad -
Issue While creating Business Objects in SWO1
Hi all,
I just want to add a FM to my Business Object.
In the FM, when i define the import and export parameters using "TYPE" the FM is working fine. But while adding that method to a Business Object in SWO1, an error is raised. The details are -
Data type xxxx cannot be used for methods
Message no. OL403
Diagnosis
You tried to create a method in the BOR with a data type that is not supported. Only data elements and structures are allowed as reference types for parameters in the BOR.
But when i use "LIKE" in place of "TYPE", everything is working fine. Why i want to use "TYPE" in place of "LIKE" is that "LIKE" as typing for parameters is obsolete.
Please suggest the reason for the same.
Thanks,
DebDeb,
TYPE is not supported in BOR method. You may check the following link for more information:
http://help.sap.com/saphelp_nw70/helpdata/EN/c5/e4ac39453d11d189430000e829fbbd/frameset.htm -
How to Open a Our System's Connection For access by SAP AG
Dear Sir/Madam,
For our sap system access by SAP AG, I need to OPEN my SYSTEM and to provide LOGON DATA to SAP AG.
Would any one help me HOW TO OPEN MY SYSTEM for SAP AG ACCESS and by LOGON DATA, what they mean.
Our SAP system is ECC5.0
Product Version SAP ERP 2004
Operating System AIX 5.3
Database ORACLE 9.2.0.4.0
Technical Usage Type ERP Central Component (ECC)
Any Pointer will be highly appreciated.
Thanks and Rgds,
PranabHi,
Check this link
http://service.sap.com/serviceconnection
Note 35010 - Service connections: Composite note (overview)
Maybe you are looking for
-
Microsoft office is installed on two user accounts. My husbands account works fine, but my account keeps getting an error message every time I try to open up a new document. Why wont it work on both accounts? How do I fix this?
-
Upgraded to 10.7 camera is no longer recognized
I guess I can restarting again, but basically I plug in my Nikon 2500 and it doesn't matter if I start iPhoto before or after. The camera never shows up, not in iPhoto, not in Finder, not on the desktop. I took another picture, it has a specific butt
-
500k Unique Limit not behaving as it should?
Hoping to get an official "Adobe" answer here as results via Twitter were not too successful, plus this is just too detailed to be accurately articulated in 140 character chunks. Anyways, the problem comes with an instance I am working on where uniq
-
Can i create a new currency symbol in adobe acrobat XI pro
the symbol for malaysian ringett does not existing in adobe. i am creating a form where currency amounts are added. can i create the symbol, and how?
-
Change description of user fied according to current language
Hi, I have added a user field to a system table. When a system matrix shows the system table, my user field is visible but when I change the current language the title of my column is always the same, the description of my user field. Is it possible