Simple shared library (not webapp without changes MANIFESTS) does not work.
just starting to move from OC4J to BEA. We are on Weblogic 10.3.I have a simple JAR (supplied by seller) that I intend to use as a shared library (ibmjndi.jar). I do not play with the MANIFESTO.
[http://download.oracle.com/docs/cd/E11035_01/wls100/programming/libraries.html#wp1065473 | http://download.oracle.com/docs/cd/E11035_01/wls100/programming/libraries.html#wp1065473] indicates that I can deploy "a simple Java class or classes bundled in a JAR file.
Deployment library appears in my summary of deployments, status = Active, type = library. his name is ibmjndi.
I've implemented an itty-bitty webapp to use ibmjndi. I have this weblogic.xml:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<reference-descriptor>
<library-ref>
<library-name>sjtc</library-name>
</library-ref>
<library-ref>
<library-name>ibmjndi</library-name>
<exact-match>false</exact-match>
</library-ref>
</reference-descriptor>
</weblogic-web-app>
When I try to deploy this WAR, I get this:An error occurred during activation of changes, please see the log for details.
Message icon - Error Failed to load webapp: 'eleveng.war'
Message icon - Error Error: Unresolved Webapp Library references for "ServletContext@9169688[app:eleveng module:eleveng.war path:/eleveng spec-version:2.5]", defined in weblogic.xml [Extension-Name: ibmjndi, exact-match: false]
the iswhat Miss me?
Published by: user8652010 on February 10, 2011 08:43
You use the correct library name in the file application.xml - weblogic as
"
Note: the name of the library we define for our library while deploying by using "weblogic. Program deployment"utility or as shown above using the Ant:
Or define library name in "META-INF\MANIFEST. MF' of your Jar file.
.
.
Thank you
Jay SenSharma
Tags: Fusion Middleware
Similar Questions
-
Family of sharing is not working
Hello.
We try to use family sharing on Apple music - but without success.
We have the family plan of Apple's music.
Family of sharing is enabled.Each Member of the family is in the family group.
When a family member trying to connect on the Apple music it does not work. Apple's music just ask for the connection of family member buy the single or family plan.
Very well. I just found the solution... It's working now... after that I removed and add the members of the family to the family group. Must be a bug apple.
-
Script simple stop will not work - sometimes...
So I have a couple of flash banner that I do, they are of different sizes of exactly the same thing. I used this script to stop the animation inside a clip called main_ufo on the main timeline:
_root.main_ufo. Stop();
_root.main_ufo. Door.gotoAndStop (89);
_root.main_ufo.outterlights.stop ();
_root.main_ufo. Lights.Stop ();
This works on one of the amounts, but won't work on another size. I checked and double checked the publication settings (both are set to Player 6, actionscript 2.0), made sure all movie clips have been appointed properly, and at the time of writing, and I went in every single movie clip if there is no conflict inside them sure scripts. Still nothing. I even copied the video ufo directly from the banner of work and stuck in the banner of non-working and replaced in the library. I tried to change the _root. to this.
I'm out of ideas. It works on my banner 120 x 600 and does not work on the 728 x 90.
If I had hair I would officially be out. Open to all ideas/suggestions at all.Here's your corrected file: http://www.kglad.com/Files/fov_ufo_728x90_2_4.fla
you use the same instance name main_ufo on frame 190, at the end of a Tween.
-
Query simple 10G and not worked on 11 GR 2 after upgrade
Hi people,
It is the first time that I write the query in this Blog.
I have a small question which prevents the UAT Sigoff.
Simple query works well on 10.2.0.1 and after the upgrade to 11.2.0.1 his mistake
10.2.0.4:
=====
SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 1;
COUNT (*)
----------
1
SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 00001;
COUNT (*)
----------
1
SQL > select ATTRIBUTE1 of APPS. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 1;
ATTRIBUTE1
--------------------------------------------------------------------------------
00001
11.2.0.1:
=====
SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 1
*
ERROR on line 1:
ORA-01722: invalid number
SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = 00001
*
ERROR on line 1:
ORA-01722: invalid number
SQL > select ATTRIBUTE1 of APPS. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = '1';
no selected line
SQL > SELECT COUNT (*) apps. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = "00001";
COUNT (*)
----------
1
SQL > select ATTRIBUTE1 of APPS. HP HZ_PARTIES WHERE ATTRIBUTE_CATEGORY = 'PROPERTY' AND ATTRIBUT1 = "00001";
ATTRIBUTE1
----------
00001
++++++++++++++++++++++++++++++++++++++++++++++
SQL > desc APPS. HZ_PARTIES
Name Type
======== ======
ATTRIBUTE1 VARCHAR2 (150)
++++++++++++++++++++++++++++++++++++++++++++++
Changes:
Recently, I upgraded the 10.2.0.4 to 11.2.0.1 DB
Query:
1. If the type of this line is of type VARCHAR, why it is 10.2.0.4 and why not work in 11.2.0.1
2 after the upgrade, I've analyzed the table with "analyze table" asks all AP, AR, GL, HR, BEN, APPS diagrams - is that impact if we run analyze table.
Please provide me with the answer to both questions above or see the document is also well enough to understand. Based on the answer customer will sigoff of today.
Thank you
Kumar PKumar P,.
To start, you must use DBMS_STATS rather than ANALYZING. Secondly, there is a chance that the implementation plan is different in cases where the SQL statement does not - predicates are applied in a different order or a different index is used (or a full table scan is used in one case and an index scan in the other).
Set up your environment so that the SQL statement is able to run, and then in SQL * Plus, run the following:
SET AUTOTRACE TRACEONLY EXPLAIN select count(*) from apps.hz_parties hp WHERE attribute_category = 'PROPERTY' AND attribute1 = 1;
Save the execution plan generated (via the predicate information section). Then configure your environment so that the SQL statement cannot execute in SQL * more do the following:
SET AUTOTRACE TRACEONLY EXPLAIN select count(*) from apps.hz_parties hp WHERE attribute_category = 'PROPERTY' AND attribute1 = 1;
Save the execution plan generated (via the predicate information section).
Now compare the execution plans - how they are the same, and how are they different? Please report both execution plans.
Charles Hooper
Co-author of "Expert Oracle practices: Oracle Database Administration of the Oak Table.
http://hoopercharles.WordPress.com/
IT Manager/Oracle DBA
K & M-making Machine, Inc. -
My simple script do not work, I m missing something fundamental
Hello.
I seem to not understand something in PowerCLI scripting. I try to make it as simple as possible, still it does not work.
When I remove "object-forreach", it works.
Can someone point out to me what I did wrong?
Not the $results contains the name, cpu etc?
$results = @)
Get - vm | {foreach-object
$name = $_. Name
$cpu = $_. NumCpu
$mem = $_. MemoryGB
$state = $_. PowerState
$guest = $_. Comments
$notes = $_. Notes
}
$results | Select name, cpu, mem, status, comments, notes | Export-Csv - NoTypeInformation 'G:\Users\Roosen\PSs\AllVms-Monthly-Report-CPUnRAM.csv '.
BR
Kristian
Here you go
$results = @)
Get - VM | {foreach-object
$info = @{'name' = $_.} Name
"cpu" = $_. NumCpu
"mem" = $_. MemoryGB
'State' = $_. PowerState
'guest' = $_. Comments
'notes' = $_. Notes
}
$system = new-Object - TypeName PSObject-property $info
$results += $system
}
$results | Select name, cpu, mem, status, comments, notes | Export-Csv - NoTypeInformation 'G:\Users\Roosen\PSs\AllVms-Monthly-Report-CPUnRAM.csv '.
-
My loop is simple but will not work!
Hello. I'm having a lot of trouble.
I have a simple loop which goes through and sets a disabled button if its value is the database. The code is below:
DECLARE
benchmark(loop_count,expression) NUMBER (2): = 1;
seat_count NUMBER (2);
item_id;
Item1 VARCHAR2 (5): = 'SEAT_;
nom_element VARCHAR2 (10);
BEGIN
LOOP
SELECT COUNT (*) IN seat_count
SEAT WHERE showid =: global .showid
AND seatnumber = benchmark(loop_count,expression);
IF seat_count = 1 THEN
nom_element: = item1 | benchmark(loop_count,expression);
item_id: = FIND_ITEM (item_name);
set_item_property (item_id, Enabled, PROPERTY_FALSE);
END IF;
IF benchmark(loop_count,expression) = 99 THEN
EXIT;
END IF;
benchmark(loop_count,expression): = benchmark(loop_count,expression) + 1;
END LOOP;
END;
When I run the form, I get 3 guests in a line saying "FRM-41045: can not find the point: invalid ID '.
If I change the value of
tem_id: = FIND_ITEM (item_name); TO
item_id: = FIND_ITEM ('SEAT_10');
for example, he will work on "SEAT_10" and will disable her, but cannot do through the variable and the loop.
Everyone see anytihng wrong with what I wrote?
Tahnks a lot
Published by: lockmac on May 12, 2009 21:37
Published by: lockmac on May 12, 2009 21:38Few things:
What is the result of the sql query by operating in sql developer?
From your code, it seems that you must have the items SEAT_1, SEAT_2... SEAT_99 in your form.
Do you have the number of elements in your form?
If the values are not there it will give you "article not found".
You must also maintain in your code, if the element is present or not using something like below after your find_item:
item_id := FIND_ITEM(item_name); IF Id_Null(item_id) THEN Message('No such item: '||item_name); RAISE Form_Trigger_Failure; ELSE set_item_property(item_id,ENABLED,PROPERTY_FALSE); END IF;
It will be useful.
Check the answer as useful / OK, if this can help you
Carole
-
Shared WEP not working only not with the new Inspiron laptop
Hello
I just bought an Inspiron laptop a few days ago. I have problems to set up my wireless network. When I change my open router for WEP connection works fine on my laptop, but when it is about shared WEP an error message saying that it was unable to connect. The thing is that I have other wireless devices on my network that only work with WEP shared. Is there anyway that I can get my laptop to support this connection? I have an Inspiron laptop with equipped with a Wireless N card.
-
simple mp3 player not working not not:(erreur de script d'action)
Hello world!
I wonder if anyone can help with this problem:
I am currently designing a website and creating a simple mp3 player with a function on / off but doesn't seem to work. I get this error:
1095: syntax error: a string literal must end before the line break.
1083: syntax error: end of program is unexpected.
1084: syntax error: expected rightparen before the end of the program.
1084: syntax error: expected rightparen before the end of the program.
1084: syntax error: expected rightparen before the end of the program.
1084: syntax error: expected rightparen before the end of the program.I downloaded a zip file containing the images and the FLA file. I wonder if someone wouldn't mind have a look for me and tell me how to solve this problem:
http://www.c-Recordz.co.UK/download/mp3_player.zip
Thank you
Davies
Hi Davies,
On line 19 let's not break the line, Flash will do it for you... Another aspect that I recommend is to not put the "$" variables. In AS2 variable need not be reported as such (although it is a good policy), instead of the ' $' put the word "var", as you have already in these variables.
Greetings
Men
-
simple slideshow will not work as long as 3.0
L.S. I have this little slide show, it is convenient for my students. It has always worked well in 2.0,
5 slides and two buttons: back and next.
The in2.0 script has: prevFrame and nextFrame in code
and for exceptions to frame 1 and frame 5 made us a new image 1 in the layer actions and coded the rear button, gotoAndStop (5); and a new framework 5 and coded the following button: gotoAndStop (1);
Works.
Now, I put the thing earlier than 3.0: and I can't do work properly... the work of buttons, but when I'm on frame 5 and back to 4, it will go no further than 4, evenso when I return to frame 1 of 5, I can't go more than frame 1.
Do I did wrong?
the fla in cs5 is attached.
Thank you
Anne Vossen
Post edited by: Vossen, I'm sorry but I can't find the button to load my files... so here's the script:
under section 1:
import flash.events.MouseEvent;
Stop();
next_btn.addEventListener (MouseEvent.CLICK, volgendFrame);
next_btn.addEventListener (MouseEvent.CLICK, eersteFrame);
back_btn.addEventListener (MouseEvent.CLICK, vorigFrame);
back_btn.addEventListener (MouseEvent.CLICK, laatsteFrame);function volgendFrame(evt:MouseEvent):void {}
nextFrame();
}
function eersteFrame(evt:MouseEvent):void {}
gotoAndStop (1);
}
function vorigFrame(event:MouseEvent):void {}
prevFrame();
}
function laatsteFrame(event:MouseEvent):void {}
gotoAndStop (5);
}section 2:
next_btn.addEventListener (MouseEvent.CLICK, volgendFrame);
next_btn.addEventListener (MouseEvent.CLICK, eersteFrame);
back_btn.addEventListener (MouseEvent.CLICK, vorigFrame);
back_btn.addEventListener (MouseEvent.CLICK, laatsteFrame);section 5:
Stop();
next_btn.addEventListener (MouseEvent.CLICK, volgendFrame);
next_btn.addEventListener (MouseEvent.CLICK, eersteFrame);
back_btn.addEventListener (MouseEvent.CLICK, vorigFrame);
back_btn.addEventListener (MouseEvent.CLICK, laatsteFrame);Essentially, you are trying to build a version complicated of conditionals to deal with the end points of the scenario with the approach that you have taken which is probably easier to explain by introducing conditional elements.
When you start playing with the different instances of the same name on the same layers there are anomalies that occur that there are simply no move. For example, it is possible that the Framework 1 button keeps the event listener who has been assigned to the button in frame 5 even if you assign a new when she went back to frame 1, etc... anomalies that defy the intentions and the actual code. Asigning different names for objects in adjacent images can also lead to erroneous results. If you want to use new instances of the same object with different names, use different layers for each or separate instances with keyframes empty, otherwise, it may acquire the name of the former, regardless of your naming.
A 1009 error indicates that an object your code tries to target does not exist as far as your code sees it (and the error will be valid). This may be due to lack somewhere a name or instance trying the target items that aren't in the current framework or other reasons. If you go in your publishing settings and select the option to enable debugging, the line number of the offending code will be indicted in the error message right after the chassis number.
-
Change the text / sprite Shared Library
Dear Adobe,
Currently I am trying to edit the text of a project/site Web Flash. Flash project structure is as follows:
-Main.fla
-Section1.fla
-Section2.fla
-Section3.fla
-Section4.fla
The Section3.fla file contains the text that I need to change. I noticed that the text will be visible inside the library:
File "/ Sprite/sprite 11.
and
"/ Text/text" 10 file
But when I try to change the 10 text file I get the message: "this symbol is imported from a shared library. If you change this symbol, it is is more imported. Would continue you? ».
If I click on Yes and change the text and replace the Section3.swf with the new, the site still displays the old text.
How can I change this? Can someone help me please?
Kind regards
Mike
I have it solved! I was check the folder sprites (inside the library) and I noticed a file with the text that I needed to change. So I've just updated the text exported as SWF and it worked.
Also, I found a nice Firefox very convenient addon "button to clear the cache. It helped me to be allocated to ensure that the site has updated to the latest version.
Thank you for helping us kglad.
Gr. Mike
-
Change the text in the textfield does not work
Hello!
Another problem, I do not know how to solve:
I have a dynamic textfield, which lies in a graph, and based on this graphic I designed a movieclip with interpolations of fade-in and bland-out of this graph.
However, when I play the movieclip (ctrl + enter) and I want to change the text in the textfield with textMovieclip.textfield.text = "NewText"; the text is correctly set, but the textfield object disappears from the display. When I play this movieclip with the defaulttext I put in the textfield (without changing this text) everything works fine.
Fonts required are integrated, I is not serious if I change the text before playing the movieclip or after and textfield is not only in the back behind the scenes. And for example to change the color of the defaulttext works without any problem.
What have I forgotten? Do I have to put another value also?
Welcome, TschoubaIt's not like you have activated your textfield object autoSize property. or is your hidden textfield? and using something else than a simple 'u' in music and about?
-
The legacy program does not work in Windows 7
MD simple burner will not work on windows 7
Hi macdent
Welcome to the Microsoft Answers Forum!
I recommend you to check if the software is compatible with Windows 7. Here is the link that helps you check the compatibility of the hardware or software with Windows 7 Windows Compatibility Center
If the program is not compatible, then you try to install and run the program in compatibility mode. Steps to follow:
i. right click on the program
II. click on properties
III. click on the Compatibility tab
IV. Select run this program in compatibility mode and select windows vista
Link for reference below: make older programs run in this version of Windows
Thank you, and in what concerns:
Samhrutha G S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
How to create a shared library of Qt and use it on App without a head?
Hi all
I'm experimenting with some waterfalls headless basic application development, and I just hit another problem of blocking.
I want to create a Qt library with some shared code between the head and user interface elements.
That's what I did:
- created a new application without head the wizard project
- created a new library shared by using the wizard project. Adds a simple C++ (Qt not) class
- Set up the two parts of the Headless App to use the shared library ("Library in the workspace project" option from the "Add library...) (' Assistant). Everything compiles and works very well so far.
- Now, I want to use the shared library Qt. I choose 'Library of the Standard BlackBerry platform' and ' platform > Qt Core "from the «add library...» "Wizard. Now, I had this error on the shared library project: C:\dev\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntoarm-ld: could not find lQtCore.
How to create a shared library of Qt and use it on App without a head?
In fact, I would also use other NDK libraries on library shared as lbbdata and libbbdevice.
I expect that workers would deal with all the problems for me. As an improvement, I suggest you add the selection screen platform library of the Wizard "Add library...". «the wizard «Shared Library Project»
There is a model of library project
https://github.com/BlackBerry/Cascades-community-samples/tree/master/Cascades-library-template
Unfortunately, the library create Assistant isn't really useful #t
There is also a great series on using headless headless library and user interface:
-
to access the pots through the class-path to the manifest of a shared library.
I have a large number of pots that are used by the J2EE applications and stand-alone (client) applications.
I like to keep only one copy pots on the drive (for example, in a myLibraries/lib directory).
Is there a way I can create a shared library with the Class-Path entry in a manifest that points to the jar files in the myLibraries/lib directory? (If Yes, which? the ear of shared library manifest, the manifest of a pot of "module" in the ear of shared library or the manifest of a pot within the APP-INF/lib?)
Otherwise, it seems that I have to include copies of these pots in the EAR of my shared library application.
Thanks in advance
MikeMike,
I guess that it may be possible to refer to the pots where they are already using a manifest, but this isn't how I saw. If you look at weblogic.jar, it's META-INF/manfiest.mf uses references to other module pots. However, you're talking as if you want to do something more absolute path. Why not consider the following which is more standard...
To use a pot as a shared library or optional package, study it:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13706/libraries.htm#i1070930Basically, make sure that the jars you want to be a shared library have a manifest file which specifies the extension name, spec, and version impl.
For example. Let's say you have myExtension.jar - inside there should be a META-INF/MANIFEST. File MF that looks like this:
Name of the extension: myExtension
Specification-Version: 2.0
Implementation-Version: 9.0.0Deploy this jar in a WLS library.
Second, depending on which classloader you want to access in the container, make a reference to the optional package. For example, in the EAR that you want to access this pot, change META-INF/MANIFEST the EAR. MF so that it looks like this:
List of extensions: myExtension
myExtension-Extension-name: myExtension
myExtension-Specification-Version: 2.9
myExtension-application-Version: 9.0.0You can also reference the style jar libraries in weblogic application. The EAR like this XML:
...
myExtension
...
Note that the library-ref above referring to a jar approach does not work for applications packaged as WAR files and editing weblogic.xml, you must use the obvious approach for the web module archive jar base shared libraries reference.
-
import the shared library function name change
Hello
I used 'Import Shared Library' to create a lvlib, but he changed function name, for example to Z2onj() on(), so created VI does not work.
It has this error:
Call library function node "libname.": Z2onj: function not found in the library
Details:
The name of the function specified for this node is not found in the library. Click the node to call a library function and select Configure, and then choose the name to function properly.
How can I solve?
Thank you.
Hi Salvo,
you need to create again the lvlib with the new name.
Kind regards.
Maybe you are looking for
-
iPad Air2, Wi - Fi and MAC filtering
Two other iPads in the House and my iPad Air2 keep disconnecting my wireless router when I turn MAC filtering AND broadcast THAT SSID is disabled. I can't even manually connect to the router, but when I turn one of these functions, or both, the devic
-
Make a new file using the "Save as".
Bit of feedback to the staff HERE... We use LabVIEW 8.6. and, at least in this implementation, trying to make a new VI using the command save as product a menu of choices, including none make sense to me. Sorry, but I can't say which of them will pro
-
Problem to run a Labview program in another pc
Hi dear, I am a beginner in Labview. I have a program made by a colleague. It works fine on the PC where it was written. When I copy it to another PC, it runs. but he can't write and read the right settings and values of the instruments. Labview vers
-
Hello Please see the attached photos. failed.jpg showed that the system could not start when a device is slot in slot13 OK.jpg showed that the system is properly start. No device is inserted between slot13 to slot17. 1. place a PXI (PXI-8433/4, PXI-8
-
How to re - install lack of true type fonts
How to re - install lack of true type fonts?