Could not resolved resource
in the Testapp i hav the below code but it keep prompting me tt resource file cant be found. anyone can solve the qns for me. Thks
C:\testing\WEB-INF\classes\sg\gov\ida\epdp\testIbatis\Testapp.java
C:\testing\WEB-INF\classes\conf\SqlTestConfig.xml
Reader reader = Resources.getResourceAsReader("conf/SqlTestConfig.xml");
Im using ibatis and trying to use the sqlmapping... but unable to read the sqlconfig file.
I have changed JDBC driver to oracle standart instead of weblogic. And it is working now!
Similar Messages
-
CRS-0210: Could not find resource while start ASM on 10G RAC
Dear All
I'm trying to install 10g RAC on Redhat 4.1. At the point at which I try to start ASM it fails with the message
ORA-03113: end-of-file on communication channel
select value from v$parameter where name='instance_type'
ERROR at line 1:
ORA-01034: ORACLE not available
This seems to be due to a failure CRS. The trace file shows:
[Thread-11] [17:14:2:907] [HAOperationImpl.runCommand:1254] CRS cmd is: /u01/app/oracle/product/10.2.0/crs/bin/crs_stat -u ora.bfhxx-sql012.ASM1.asm
[Thread-41] [17:14:2:964] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.bfhxx-sql012.ASM1.asm.
Executing
/u01/app/oracle/product/10.2.0/crs/bin/crs_stat
produces:
NAME=ora.bfhxx-sql012.LISTENER_BFHXX-SQL012.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on bfhxx-sql012
NAME=ora.bfhxx-sql012.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on bfhxx-sql012
NAME=ora.bfhxx-sql012.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on bfhxx-sql012
NAME=ora.bfhxx-sql012.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on bfhxx-sql012
Is this a red herring or is it the reason ASM won't start? At what point should this entry have been created (ie should it already exist when ASM starts or should ASM create it)? Can I manually create the entry using crsstat.
Many thanks
PaulIt all depends on what your mapping problem was and what you did to resolve it. Here are a couple of things you could try:
-Make sure the orc.loc file on ebdb1 has the same entry as ebdb2. Also, say you are using shared raw devices for CRS: make sure your raw devices are consistent on both nodes.
If the above does not work
-Make sure the shared devices are consistent on both nodes and restore one of the OCR backups. I am sure at least one of the backups 4hrs/8hrs/1day/2day/1week some thing must be a worthwhile. If you do restore OCR from a backup make sure to run cluvfy before you start your CRS.
Always a good practise to take a backup of status quo before you restore from the backups.
It would be interesting to know what lead to your disk mapping problem in the first palce.
Good Luck! -
Could not resolve...
Hi everyone,
I'm currently playing around with the examples in AFCS and
noticed when running Flexternal.mxml that I get an error at line 27
<rtc:AdobeHSAuthenticator authenticationKey="{authToken}"
id="auth"/>
Severity and Description Path Resource Location Creation Time
Id Could not resolve <rtc:AdobeHSAuthenticator> to a
component implementation. AFCS_Playground/src Flexternal.mxml line
27 1237318325609 57
Any ideas? I'm pretty sure I set up the SDK properly,
thanksHi,
There was a bug on our side in the example since we updated
the namespace recently in last release. So, in the application tag
in Flexternal.mxml you need to specify xmlns:rtc="AfcsNameSpace"
instead of "CocomoNameSpace" . and the error will be fixed. I am
also attaching the entire code with the update in case you need it.
Thanks again for the catch.
Regards
Hironmay Basu -
Could not resolve mx:DataGrid to a component implementation
I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<!-- dpcontrols/DataGridPassData.mxml -->
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
title="Jobs List">
<fx:Script>
<![CDATA[
import mx.collections.*;
private var DGArray:Array = [
{Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
{Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
{Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
{Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
{Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
{Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
{Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
{Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
{Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
{Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
[Bindable]
public var initDG:ArrayList;
//Initialize initDG ArrayList variable from the Array.
//If you use this technique to process an HTTPService,
//WebService, or RemoteObject result, use an ArrayCollection
//rather than an ArrayList.
public function initData():void {
initDG=new ArrayList(DGArray);
]]>
</fx:Script>
<!--s:states>
<s:State name="loginState"/>
<s:State name="State1"/>
</s:states-->
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<fx:Component className="AlertMsgDay">
<s:SkinnablePopUpContainer x="70" y="300">
<s:TitleWindow title="Filtering" close="close()">
<s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
<s:Label text="This button will filter jobs to show only TODAY."/>
<s:Button label="OK" click="close()"/>
</s:VGroup>
</s:TitleWindow>
</s:SkinnablePopUpContainer>
</fx:Component>
<fx:Component className="AlertMsgWeek">
<s:SkinnablePopUpContainer x="70" y="300">
<s:TitleWindow title="Filtering" close="close()">
<s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
<s:Label text="This button will filter jobs to show only THIS WEEK."/>
<s:Button label="OK" click="close()"/>
</s:VGroup>
</s:TitleWindow>
</s:SkinnablePopUpContainer>
</fx:Component>
</fx:Declarations>
<s:BorderContainer x="10" y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
<s:Scroller width="100%" height="363" verticalScrollPolicy="on">
<s:Group width="100%" height="100%">
<mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" > <<<< THE ERROR IS HERE
<mx:columns>
<mx:DataGridColumn dataField="Lease" />
<mx:DataGridColumn dataField="Well" />
<mx:DataGridColumn dataField="Location" />
<mx:DataGridColumn dataField="Customer" />
<mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
<mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
</mx:columns>
</mx:DataGrid>
</s:Group>
</s:Scroller>
</s:BorderContainer>
<s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
verticalAlign="middle"/>
<s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
<s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
<s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
</s:View>I'm very new at this. Building a mobile app. Running the latest Flex/FlashBuilder (4.6). When I compile I get this error: "could not resolve <mx:DataGrid> to a component implementation". Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<!-- dpcontrols/DataGridPassData.mxml -->
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
title="Jobs List">
<fx:Script>
<![CDATA[
import mx.collections.*;
private var DGArray:Array = [
{Lease:'Bagby Heirs', Well:'1', Location:'Quitman', Customer:'Fair Oil Company', ScheduleDate:'2/23/2012', ServiceDate:'5/16/2012'},
{Lease:'ITU', Well:'301', Location:'Ingram Trinity', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
{Lease:'ITU', Well:'81', Location:'ITU', Customer:'Southwest Operating, Inc.', ScheduleDate:'3/19/2012', ServiceDate:'4/25/2012'},
{Lease:'Tolliver A', Well:'5', Location:'Turner Town', Customer:'SEDI', ScheduleDate:'4/16/2012', ServiceDate:'5/11/2012'},
{Lease:'W R Cady', Well:'1', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
{Lease:'Royal National Bar', Well:'2', Location:'Coffield', Customer:'Green River Resource', ScheduleDate:'5/9/2012', ServiceDate:'4/10/2012'},
{Lease:'Pan American L', Well:'1', Location:'Chandler', Customer:'East Texas Oil & Gas', ScheduleDate:'5/14/2012', ServiceDate:'6/8/2012'},
{Lease:'Paluxy B Sand', Well:'5', Location:'West Tyler', Customer:'Culver & Cain', ScheduleDate:'6/1/2012', ServiceDate:'5/25/2012'},
{Lease:'Wh Pittman Hei', Well:'2', Location:'Quitman', Customer:'Southwest Operating, Inc.', ScheduleDate:'7/10/2012', ServiceDate:'6/18/2012'},
{Lease:'Vivian Pruitt', Well:'1', Location:'Crow - Hwy 80M', Customer:'Buffco Productions, Inc.', ScheduleDate:'8/7/2012', ServiceDate:'8/29/2012'}
[Bindable]
public var initDG:ArrayList;
//Initialize initDG ArrayList variable from the Array.
//If you use this technique to process an HTTPService,
//WebService, or RemoteObject result, use an ArrayCollection
//rather than an ArrayList.
public function initData():void {
initDG=new ArrayList(DGArray);
]]>
</fx:Script>
<!--s:states>
<s:State name="loginState"/>
<s:State name="State1"/>
</s:states-->
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<fx:Component className="AlertMsgDay">
<s:SkinnablePopUpContainer x="70" y="300">
<s:TitleWindow title="Filtering" close="close()">
<s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
<s:Label text="This button will filter jobs to show only TODAY."/>
<s:Button label="OK" click="close()"/>
</s:VGroup>
</s:TitleWindow>
</s:SkinnablePopUpContainer>
</fx:Component>
<fx:Component className="AlertMsgWeek">
<s:SkinnablePopUpContainer x="70" y="300">
<s:TitleWindow title="Filtering" close="close()">
<s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
<s:Label text="This button will filter jobs to show only THIS WEEK."/>
<s:Button label="OK" click="close()"/>
</s:VGroup>
</s:TitleWindow>
</s:SkinnablePopUpContainer>
</fx:Component>
</fx:Declarations>
<s:BorderContainer x="10" y="111" borderColor="#808080" cornerRadius="5" borderWeight="2" width="98%" height="369">
<s:Scroller width="100%" height="363" verticalScrollPolicy="on">
<s:Group width="100%" height="100%">
<mx:DataGrid id="myGrid" width="900" height="350" dataProvider="{initDG}" > <<<< THE ERROR IS HERE
<mx:columns>
<mx:DataGridColumn dataField="Lease" />
<mx:DataGridColumn dataField="Well" />
<mx:DataGridColumn dataField="Location" />
<mx:DataGridColumn dataField="Customer" />
<mx:DataGridColumn dataField="ScheduleDate" headerText="Schedule Date" />
<mx:DataGridColumn dataField="ServiceDate" headerText="Service Date" />
</mx:columns>
</mx:DataGrid>
</s:Group>
</s:Scroller>
</s:BorderContainer>
<s:Label x="10" y="10" width="96" height="53" fontSize="24" text="Sort by:"
verticalAlign="middle"/>
<s:Button id="btn_show_today" x="104" y="11" width="105" height="53" label="Today"
fontSize="13" fontWeight="bold" click="(new AlertMsgDay()).open(this, false);"/>
<s:Button id="btn_show_week" x="216" y="11" width="105" height="53" label="Week"
fontSize="13" fontWeight="bold" click="(new AlertMsgWeek()).open(this, false);"/>
<s:Button x="348" y="10" width="184" height="53" label="Edit this Job" fontSize="18" click="navigator.pushView(views.JobFormView);"/>
</s:View> -
Could not resolve sparks component with Air 3.6 Beta
Description
Resource
Path
Location
Type
Could not resolve <s:SolidColor> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 59
Flex Problem
Could not resolve <s:State> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 33
Flex Problem
Could not resolve <s:State> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 34
Flex Problem
Could not resolve <s:Transition> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 38
Flex Problem
Could not resolve <s:Transition> to a component implementation.
ExpandingItemRenderer.mxml
/ProjectTest/src/renderers
line 47
Flex Problem
This is what i get with the latest Air 3.6 Beta SDK with a mobile project !
FB 4.7 shows the <mx:Transition> potential match but not the <s:Transition>. Its the same for all the other errors it shows the potential matches
Can someone provide a solution I even tried to add sparks.swc as external SWC but it doesn t work.I Still have theses errors :
Description
Resource
Path
Location
Type
Could not resolve <s:State> to a component implementation.
MessageBox.mxml
line 129
Flex Problem
Could not resolve <s:State> to a component implementation.
MessageBox.mxml
line 130
Flex Problem
Could not resolve <s:State> to a component implementation.
MessageBox.mxml
line 131
Flex Problem
Even if I added the spark.swc
But the other errors are gone ! -
Could not resolve mx:horizontalAxisRenderers to a component implementation
Hi,
When I running the following code
mx:horizontalAxisRenderers>
<comp:ScrollableAxisRenderer id="scrollAxisRenderer" axis="{t_value}" tickPlacement="none" placement="bottom"
labelGap="3" maxVisibleColumns="8" />
</mx:horizontalAxisRenderers>
in my application I get the below error
Severity and Description Path Resource Location Creation Time Id
Could not resolve <mx:horizontalAxisRenderers> to a component implementation.
Any help on this please do mail
Regards
Kalavati Singh
[email protected]Kalavati,
I replied to this under the thread name "Component Implementation problem" where yuo posted the same question. In case you missed that, my answer was:
horizontalAxisRenderers is a property of CartesianChart (and hence of course any descendants). In the example under the AxisRenderer class in the Adobe docs it shows how <mx:horizontalAxisRenderers> is used as an array container for the actual renderer itself
<mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
In terms of designing an MXML file you can only legally add the <mx:horizontalAxisRenderers> element within a chart of some kind. Personally I find it easier to think of the class structure by thinking about how to do it in ActionScript. Here you would create your actual renderer object of type AxisRenderer, then create an ordinary Array and push the new AxisRenderer into it, then set the horizontalAxisRenderersproperty of your chart to opint to the Array. So horizontalAxisRenderers is "secretly" just an array, not anything with real functionality.
Richard -
Flex - could not resolve something?
Hi, I'm new to flex and I'm trying to use the following code
to display "Random Products"
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
>
<srv:•••••••••
id="myService">
<srv:RandomProducts_request_var>
<srv:RandomProducts_request numberOfProducts="1"/>
</srv:RandomProducts_request_var>
</srv:#####>
<mx:Button id="myButton" label="Call operation"
click="myService.RandomProducts_send()" />
</mx:Application>
but when I run the application I get an error message
"Severity and Description Path Resource Location Creation Time Id
Could not resolve <srv:RandomProducts_request_var> to a
component implementation."
Please can somebody help? It's driving me a bit mental.
Thanks,
AndyYou've defined namespace srv, so is the component
RandomProducts_request_var located inside the com.montpellierdns
folder? If its in a sub-folder of the montpellierdns folder, you
need to specify a namespace specifically to that folder.
Also, com must be a direct sub-folder of the one compaining
your app mxml file, and then montpellierdns a sub-folder within
that. -
Could not find resource 'ora.node2.vip'
During the extention of node,I get message to run three scipts on nodes:
1 /opt/u01/app/oracle/oraInventory/orainstRoot.sh node2
2 /opt/u01/app/oracle/product/10.2.0/crs_1/install/rootaddnode.sh node3
3 /opt/u01/app/oracle/product/10.2.0/crs_1/root.sh node2
When I run the 2nd script /opt/u01/app/oracle/product/10.2.0/crs_1/install/rootaddnode.sh on node3,get the following error:
[root@node3 ~]# /opt/u01/app/oracle/product/10.2.0/crs_1/install/rootaddnode.sh
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Attempting to add 1 new nodes to the configuration
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 5: node2 node2-priv node2
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
/opt/u01/app/oracle/product/10.2.0/crs_1/bin/srvctl add nodeapps -n node2 -A node2-vip/255.255.255.0/eth0 -o /opt/u01/app/oracle/product/10.2.0/crs_1
CRS-0210: Could not find resource 'ora.node2.vip'.
Any idea?Have you run cluvfy before the node addition?
The VIP should be resolvable, but not pingable until added to the oracle clusterware.
Try nslookup and ping of the node2-vip and let us know the results. -
This error has just recently started happening, and i cannot figure out why, i have not changed anything in tnsnames.ora file.
i am always able to "test connection" in ODBC. even when i get the error in crystal.
so i restart Crystal, and i am able to connect to db.
strange thing is that always when i do a tnsping to db i always get the message :-
TNS-12541: TNS:no listener
Any ideas ?Re: 08004:[oracle][odbc][ora]ora-12154: TNS: could not resolve the connect ....
Posted: Aug 22, 2011 5:56 PM in response to: John Fleming
Edit Reply
I am receiving a similar error.
Failed to open the connection.
Details: 08004:[Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified [Database Vendor Code: 12154]
I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
Thank you for your time. -
Hi
[applerpp@solocupmx admin]$ frmcmp_batch.sh module=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/WIPMVAPI.pll userid=apps/apps output_file=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/WIPMVAPI.plx module_type=library compile_all=special
Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
Forms 10.1 (Form Compiler): Release - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
PL/SQL Version 10.1.0.5.0 (Production)
Oracle Procedure Builder V10.1.2.3.0 - Production
Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.5.0 Production
ORA-12154: TNS:could not resolve the connect identifier specified
Regards,
GuidoHi,
With the adadmin I can see this error:
/data/erpp/R12.1.3/apps/tech_st/10.1.2/bin/frmcmp_batch module=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.pll userid=APPS/***** output_file=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.plx module_type=library batch=yes compile_all=special
ERROR generating library "resource/CSDMASSN.plx" from input file
/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.pll
Results of library generation:
(from file /data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.err
AD Worker has deleted the original .err file)
FRM-30312: Failed to compile the library.
Generated 0 files successfully.
Generated 0 files with non-fatal warnings.
Generated 1 files with fatal errors.
adfrmgen is exiting with status 1
But manually I don't have problrems
/data/erpp/R12.1.3/apps/tech_st/10.1.2/bin/frmcmp_batch module=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.pll userid=apps/apps output_file=/data/erpp/R12.1.3/apps/apps_st/appl/au/12.0.0/resource/CSDMASSN.plx module_type=library compile_all=special
Compiling Package Body VERSION_CONTROL......
Compiling Procedure Body SN_CAPTURE_ITEM_EVENT......
Compiling Procedure Body SN_CAPTURE_EVENT......
Compiling Procedure Body CONTROL_SN_CAPTURE_ITEM_EVENT......
Done.
Why, What Do you think?
Regards,
Guido -
"Could not resolve a persistence unit" error...
Hello,
I created a Netbeans Visual Web application. I added an Entity Class from a database table. A resource is added into Server Resources part. when I look at its properties, I see that it's JNDI name is set to "bitkiwiki" and I check the Sun Application Server's JDBC Resources and I see "bitkiwiki" in JDBC Resources.
My controller class has a EntityManagerFactory element:
@PersistenceUnit(unitName = "bitkiwiki")
private EntityManagerFactory emf;When I compile the project it compiles successfully but when I deploy it, I get an error like this:
Deploying application in domain failed; Deployment Error -- Could not resolve a persistence unit corresponding to the persistence-unit-ref-name .......
The Persistance UnitName exists in the server resources but it still complains about it.
What's the problem you think?
Thanks.In the persistence.xml you have something like this:
<persistence-unit name="EJBCustomerPU" transaction-type="JTA">
<jta-data-source>cust</jta-data-source>
<properties>
</properties>
</persistence-unit>
The unitName in the annotation should equal "EJBCustomerPU". I think the "bitkiwiki" is wrong. The "cust" in the above persistence.xml should be the resource you mention in the jdbc section of the app server admin. -
DNS Set Up system throw as ORA-12154; TNS :could not resolve the connect id
Hi,
While i'm creating DNS set up system throws below message
unable to connect
SQLState=08004
DNS Set Up for instantclient(win32-10.2.0.4) system throw as ORA-12154; TNS :could not resolve the connect identified specified.
operationg system:xp
dir path:C:\Oracle\instantclient10_2
TNSNAMES.ORA(C:\Oracle\instantclient10_2\NetWork\ADMIN) Contants
YourTNSName =sankar
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT =1521))
(CONNECT_DATA =
(SID =sankar)
(SERVER = DEDICATED)
dir contains:
sqresus.dll,
sqresja.dll
sqoras32.dll
sqora32.dll
oraociei10.dll
oraocci10.dll
orannzsbb10.dll
ojdbc14.jar
ocijdbc10.dll
ociw32.dll
oci.dll
classes12.jaruser7197586 wrote:
Hi
I have been created one DBLink it's created but when i am trying to access the data through the link it's raise error as
"ORA-12154: TNS:could not resolve the connect identifier specified"
CREATE
PUBLIC DATABASE LINK
Vrd_tcplink
CONNECT TO
"SAPVRD"
IDENTIFIED BY
"manager123"
USING
'VRD_TCP.WORLD'
created this above dblink
Kindly Suggest to wau out.
Regards,
Sachin
When using a dblink, the database with the link is acting as a client to the remote database ... exactly like sqlplus running on the db server.
read: http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ ora-12154tns-03505 -
Session closed due to Error: Could not Resolve hos...
Hi,
I''m trying to sort out connection issues for my auntie. She has a BT Homehub 5 with the latest firmware.
However, she is suffering from reboots and lost connections all the time. I have reviewed the log files and it is full of the following messages:
74.270000 CWMP Session closed due to error: Could not resolve host
Any ideas as i am stumped. Its a fairly recent installation ( 4 months or so) and she has only recently started to use the Wifi. It was ok when wired.
SimonIf it is DEFINITELY a wireless problem only, then download InSSider and run the program. This will tell you if you have are using a congested wifi channel.......
You can then go into the settings and after picking a less congested channel, turn off the "smart wireless" setting.....
Although the wireless problem wouldn't cause the rebooting problem......
If you found this post helpful, then please click the star on the left, after all, I'm only trying to help........ -
Could not resolve fx:Script (or fx: Declarations to a component implementation
Hi,
I am trying to compile a file into swf using mxmlc in command line. When it is a very simple mxml, compile is successful. But when the file contaion the fx name space, I get a compile error like: could not resolve COMPONENT_NAME to a component implementation.
I have to be able to do this, without the help of Flash Builder because I am working on a project where I will need to generate swf files from mxml files which we generate the code of.
I tried it with SDK version 4.0.0., version 4.1.0 build 16076 and 4.5.0. build 20967. And I also tried it in 3 different computers. Note: Our notebooks has Windows 7 OS - locale:Turkish.
I read that this error is specific to some locales like Turkish here: http://forums.adobe.com/message/892431#892431, . But I couldnt find the solution.
Any suggestions?
The simple code I am trying to compile is(which is generated by Flash Builder 4 and can be compiled there):
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:Application>Could you please file a bug at http://bugs.adobe.com/jira with sample code that fails to compile on a Turkish system, so that we can track this problem and fix it in a future release?
Gordon Smith
Adobe Flex SDK Team -
Upgrade from Burrito to 4.5, Could not resolve MobileApplication tag?
Hello:
As the topic states, I just upgraded from Burrito to 4.5 today. I imported my app and I get the following error:
Could not resolve <s:MobileApplication> to a component implementation. ... line 6 Flex Problem
Did they take out MobileApplication? If so how can I support the back button on my Xoom device now?
PaulMobileApplication was renamed to ViewNavigatorApplication.
Here's an example of how you would cancel the back button in the final 4.5 release:
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"
backKeyPressed="view1_backKeyPressedHandler()">
<fx:Script>
<![CDATA[
private function view1_backKeyPressedHandler():void {
event.preventDefault();
// do something else here
]]>
</fx:Script>
</s:View>
Maybe you are looking for
-
I have version 3.6.8 and it is not responding most of the time Why?
When I look up a website and enter i get a "not responding" and if I wait it will finally go to the website or a pop-up about script. == This happened == Every time Firefox opened == weeks ago
-
I keep getting pop ups that say my subscription has expired? I have paid and have credit because this has happened before and i paid 3 times. Can I just buy a download instead of paying a monthly subscription?
-
Delete a video trailer from the ipod
hi there boys and girls, only had the ipod for a day, tried a test download film trailer which went onto the ipod ok, then deleted it from my libary list in itunes, ok......but its still on the ipod ?, i thouht it would automatically delete when conn
-
How to record video with a watermark logo in Adobe AIR app?
I would like to develop an app in Adobe AIR. The requirement is that video recording with a custom watermark logo on top left. Anyone have any idea, how to record a video with custom watermark? Please suggest some code or any reference, it would be h
-
Safari Preference doesn't show my extensions.
so i want to uninstall an app i put on safari , i went to safari's preference tab and clicked on the extension tab and to much of my surprise showed a blank screen on that tab. can someone trouble shoot this?