on 09-10-2008 11:22 AM
Hi,
I'm trying to define the datasource alias testalias in NWA and using it in an application which is developed in NWDS. Creating the alias and configure it for the application is no problem. However if I deploy the application there is following warning:
Application sap.com/XYZ has a weak reference to resource testalias with type javax.sql.DataSource but the resource is not available and the application may not work correctly.
This only happens when a new datasource alias is created. If I restart the server the warning is gone. The [CE-Library|http://help.sap.com/saphelp_nwce10/helpdata/en/51/735d4217139041e10000000a1550b0/frameset.htm] says that a restart is only necessary if the Defaul Data Source is changed.
So is there a way to activate the alias without restarting because in our productive system we cannot always perform a restart when a alias is created.
Best regards,
Kevin
Hi Kevin,
What DataSource does your testalias refer to?
- If it is a custom DataSource, you must have created this custom DataSource also.
- If it is the default DataSource, you shouldn't have this problem in general...
In either case, you can try deploying your DataSource and/or DataSource alias together with your application:
http://help.sap.com/saphelp_nwce10/helpdata/en/45/07d2eeea3e0485e10000000a155369/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/45/c82cd460a42e96e10000000a155369/frameset.htm
I hope that helps!
Regards,
Yordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.