Tagged: myEclipse webLogic DataSources
- This topic has 6 replies, 2 voices, and was last updated 7 years, 4 months ago by support-swapna.
-
AuthorPosts
-
rchiu5hkParticipantDear all,
I have weblogic server 12.1.3 for deploying in myEclipse 2017 in localhost.
When I run startweblogic.cmd in base_domains of weblogic home, it can load the as400 datasources.
But not if I run the server in myEclipse. I just want to know where startWeblogic.cmd run if I run the server in myEclipse. As when I go to localhost:7001\console to config the datasources, it cannot.Is there anything missing or wrong that I do in myEclipse config for webLogic if I run server under myEclipse??
support-swapnaModeratorrchiu5hk,
We do not run the startWeblogic.cmd and instead start JVM with the server class directly. It is not clear how exactly you are configuring the datasources in Weblogic, so can you please elaborate and also let us know what problems you are seeing when trying to configure through the console.
Sorry for inconvenience caused.
–Swapna
MyEclipse Support
rchiu5hkParticipantThanks for your reply.
Actually I want to specify the datasources for using in the program when debugging.
In production, I create the datasources in weblogic console and used by the war program.
e.g. In my program of hibernate config, I have defined the datasource name as “Oracle_Order_DB”.
The datasource has been defined before in weblogic console. Then they are matching and will be used.However in myEclipse, if I have new weblogic server instance, how to define the datasources so that my program hibernate config can refer to it??
support-swapnaModeratorrchiu5hk,
Thank you for the details. Adding the datasource should be no different when the server is started within MyEclipse or when started outside of MyEclipse.
1. Can you please recheck if you are starting the same server and domain from within MyEclipse and outside of MyEclipse ?
2. Can you please elaborate what exact problem you see when configuring the datasource from the console? Are you able to access the admin console when starting Weblogic from within MyEclipse?
I suggest you also check in development related forums like stackoverflow.com on ways to configure the datasources in Weblogic.
Apologies for inconvenience caused.
–Swapna
MyEclipse Support
rchiu5hkParticipantHi swapna,
It solved by adding jt400.jar folder path in setting windows environment path.
Thanks for your help
rchiu5hkParticipantHi swapna,
It solved by adding jt400.jar folder path in setting windows environment path.
Thanks for your help
support-swapnaModeratorrchiu5hk,
Glad that you resolved the issue. Thank you for getting back to us.
Please let us know if you see any other issues.–Swapna
MyEclipse Support -
AuthorPosts