Hello world Native Extension API
Hi all :-)
I am an android expert and I'd really love to create some cool extensions like the android notifications, but since I don't know much about Flex, I have a lot of trouble getting the test vibrator with native extension working.
(http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html)
My sample is still buggy, it is probably beginner's bug, but I don't see how to fix it yet.
I am surely not the only native guy trying to do this, so I would like to sumarize here all the steps needed to have our first hello world Native Extension API
Install Flex 4.5.1 http://www.adobe.com/go/try_flashbuilder/ and download the Adobe AIR 3.0 RC http://labs.adobe.com/downloads/air3.html as well as the sample files http://download.macromedia.com/pub/developer/air/ane/Vibration.zip
Create a test Flex mobile project.(all the deffault parameters are fine) I'll call it HelloWorldNativeExtension.
(If AIR 3 is not released yet) Do the following to tell Flex builder to use the RC on your test project : http://forums.adobe.com/thread/899921
Unzip the vibration.zip, and go to ready to use extansion.
Go to Project -> Flex buildpath -> Libraries -> Add a new swc. Add the ready to use extension as a library. Then open the extensions properties and change the link type from "bundled with" to "external linkage"
Go to HelloworldNativeExtension-app.xml and in the tag manifestAddition, add : <uses-permission android:name="android.permission.VIBRATE"/>
Write a sample view (as described below)
Run (target platform->android and then chosse to run on a device)
When asked to update the air version, answer yes
Wait a loooong time before it actually start.
Here is my code for the sample view:
In HelloworldNativeExtension.mxml
Use the following code :
<?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">
<fx:Script>
<![CDATA[
import com.adobe.nativeExtensions.Vibration;
protected function testButton():void
textArea.text="Before vibration";
var vibe:Vibration;
if (Vibration.isSupported)
vibe = new Vibration();
vibe.vibrate(2000);
textArea.text="After vibration";
]]>
</fx:Script>
<s:Panel title="Exemple MXML" width="330">
<s:layout>
<s:VerticalLayout paddingLeft="15" paddingTop="15" paddingBottom="15" paddingRight="15"/>
</s:layout>
<s:Label x="223" y="173" text="test" id="textArea"/>
<s:Button label="Vibrate" click="testButton()"/>
<s:Label id="result" width="265"/>
</s:Panel>
</s:Application>
Well... so far my project doesn't compile because the library is loaded externally. It compiles fine if I add it as a bundled library, but then the virbrator can't work (External native code have to be loaded externally)
And thus so far I get the errors :
Description
Ressource
Chemin
Emplacement
Type
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.display]::IBitmapDrawable.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
1046: Ce type est introuvable ou n'est pas une constante de compilation : [flash.events]::IEventDispatcher.
HelloworldNativeExtension
Inconnu
Erreur Flex
(Which means something like : 1046: this type cannot be resolved or is not in the buildpath ... So it probably means the project doesn't compile well)
So I'm still trying to figure out what to do, but I am close I think... Very close.
Yes, in fact you are very close
You will have to put an <extensions> tag in app-xml if not already done so:
<extensions>
<extensionID>com.adobe.Vibration</extensionID>
<extensions>
Then since it is FlashBuilder 4.5.1, you will have to package the android application through command line since it requires 1 more parameter -extdir :
adt -package -target apk . . . app.apk app.xml app.swf -extdir extensions
extensions is the directory which contains your .ane file. Checkout http://www.adobe.com/devnet/air/articles/extending-air.html#articlecontentAdobe_numberedhe ader_1 for more details.
Thats all. You should be able to run your app now. Let me know if it still doesnt work.
Thanks,
Meet
AIR Team
Similar Messages
-
AIR Native extensions Hello World Example for iphone ios
I need help as i am having runnable code library for Hello world which i took from the url,
"http://akabana.info/2011/08/11/air-native-extension-10-try-air-for-ios-ane/"
in which we are making static library in Xcode by using ADOBE AIR.framework so that we are getting.a extension file. Now how to call further function because its just a library now how i want to know the steps further. How to call this library in the IOS project.Chris,
You may have more luck over on the OA Framework forum OA Framework
Best of luck,
John -
I have IFS installed on a UNIX server and can run the helloworld API example (from the developers guide.pdf) just fine locally on that machine.
Now, I would like to move the helloworld class file that I created and the IFS API class files to another machine to test the API from a remote machine. I did this and also moved the IfsDefault.properties file. But, when I try to run the hello world example on another machine, I get a MissingResourceException as it cannot find the IfsDefault resource bundle.
Do I need to install any other IFS components on the remote computer other than the API class files (adk.jar, and repos.jar)?
Thanks
Steve ProbstSee the thread with title:
Attn: The correct way to connect to the repository. -
AIR3 (iOS) - Native Extension (objectiveC) - control Acrobat PDF API
In my iPad app, I want to load in a PDF and then get control of the Acrobat API to allow the user to interact with the PDF as they see fit.
Is this possible?
I am making the assumption that there is currently objectiveC code available to use the Acrobat API on the iOS. Can anyone verify?
I am also making the assumption that through Native Extension I can bridge to this objevtiveC code from AS3 on the iOS. Can anyone please verify?
Thanks...Yes. The ability to word search and jump to a specific page.
Bringing up a PDF in iOS browser or through StageWebView you cannot perform these actions.
I've seen iPad apps that can word search and page jump. I'm assuming this is being done with ObjectiveC.
I'm looking for someone to confirm this is the case.
Because if so I'm hoping we can then code a Native Extension utilizing this ObjectiveC code and thus control the PDF the way we want. -
Please take the time to answer this very simple but ANNOYING question.
does anybody know a good (preferably free) C compiler to build java compatable dll files??
The ones that are supposedly "the best out there, ect" seem to alway want to link dll's to exe's which defeats the whole point of a dll
Thanks in advance. BamkinInstallation
Install the IDE; Sun's JDK with NetBeans for Java and Cygwin Unix shell for WinXXxx with GNU's gcc for C/C++ and Fortran
Install Netbeans with JDK as a co-bundle
Read More about J2SE http://java.sun.com/j2se/overview.html
Read More about NetBeansTM http://www.netbeans.org/
Download the Download NetBeans IDE v 3.5.1 with J2SE v 1.4.2 COBUNDLE
http://java.sun.com/j2se/1.4.2/download.html
For:
Windows (.exe)
Now install both at one step JDK and NetBeans
Install the Netbeans-Module "cpp"
This module adds the functionality of an C/C++ and Fortran editor with syntax-highlighting for view and print:
1) Open your NetBeans
Go with your browser to: http://www.netbeans.org/catalogue/32-stable.html
and select the download button for CPP support: http://www.netbeans.org/download/nbms/33/stable/Unmaintained/cpplite.nbm
If your NetBeans installation is valid you can open it direct with your browser for the NetBeans installation process.
Configure the syntax highlighting in Java and in ?cpp? as you like in font, color and font-settings.
For print:
at: Menue>Tools>Options/IDE Configuration/System/Print Settings/C and C++Editor>Font & Colors(click)>Button?...?(click)>Frame:?Print Fonts and Colors?
At this Frame you have a list of the recognized syntax-elements and on the right side you can change there styles in font, font-settings, colors and see a preview of the actual settings.
For java, XML and all other do the same in the ?Print Settings? as you like most.
For screen-view:
at: Menue>Tools>Options/Editing/Editor Settings/C and C++Editor>Font & Colors(click)>Button?...?(click)>Frame:?Fonts and Colors?
The frame works as that for print does.
Install Cygwin, the UNIX-Shell running in windows!
I will explain the way starting from web:
Go to:
http://www.cygwin.com/setup.exe
and start the setup.exe
You have to choose:
1) Install from Internet
2) your directory for cygwin like: "D:\Programme\cygwin" and the install for all or just for you
3) choose a local package directory like "D:\Programme\cygwin"
4) choose the settings to access the web like "Use IE5 Settings"
5) choose the nearest you download server
6) Selection of the required packages
The Developer Package:
A tree of packages is listed you have to click at 6. line (+Devel) at the word Default
+Devel # Default
Default should changed to:
+Devel # Install
...this is your developer-pack including gcc
The Win32-API libraries:
but further you have to go to Libs (line 12) and now click to the '+' -sign:
+ Libs # Default
The lib tree should now opened.
go up to the 5. last line at the 6. column "Package" you should read w32api: Win32 API header and library ...
look back to column 3 "New" there stands Skip click on it [as long] that you see the version number (2.5-1) or any better
The Documentation:
The Documentation should help but it is not necessary to install it:
+ Doc # Default (line 7)
so that it changes to
+ Doc # Install.
Now you can finish your installation!
Follow the steps to finish the installation.
Overview to JINI by a simple example
Java code using an external native dll function from java
This is the view of the resulting directory-file-structure
For all the steps sampleRoot stands for your root to work with this sample!
+- sampleRoot
+- com
| +- myPackage
| +HelloWorldCaller.java
| +HelloWorldCaller.class
+HelloWoldImp.c
+HelloWoldImp.dll
+com_myPackage_HelloWorldCaller.h
The Java-code:
This code have a package-declaration so it resists at the subdirectories sampleRoot/com/myPackage!
package com.myPackage;
* HelloWorldCaller.java
* Created on 26. M?rz 2004, 13:23
* @author mike
class HelloWorldCaller {
//the declaration for the native method
public native void displayHelloWorld();
//this part of code is executed while class is loaded
static {
//loads the native library from native systems path
System.out.println("start to load the library");
System.loadLibrary("HelloWorldImp");
System.out.println("load should already be done");
//the constructor is empty and can be cleared
public HelloWorldCaller(){
//this is a caller for the native method but you can do it direct at main
public void doNativeCall(){
displayHelloWorld();
public static void main(String[] args) {
//instantiate and call from this instance the native method
new HelloWorldCaller().doNativeCall();
//this is the same without a calling method between
new HelloWorldCaller().displayHelloWorld();
Compile the Code:
You working-directory is the sampleRoot!
$ javac com/myPackage/HelloWorldCaller.java
Generate the C-Header File
You working-directory is the sampleRoot!
$ javah com.myPackage.HelloWorldCaller
The naming convention of the resulting header-file:
automatic generated by javah
Syntax of the C-header file name:
<packagename truncated with '_'>_<classname>.h
If you use no package this part ?<packagename truncated with '_'>_? is simply left.
+-- package name truncated with underscore
+-- class name
+ ending of a header filecom_myPackage_HelloWorldCaller.h
The naming convention of the resulting method declaration:
Syntax of the function signature:
Java_<packagename truncated with '_'>_<classname>_<functionname>
If you use no package this part ?<packagename truncated with '_'>_? is simply left.
+-- Java
+ Underscore
+-- package name truncated with underscore
+-- class name
+-- underscore
+-- method nameJava_com_myPackage_HelloWorldCaller_displayHelloWorld
The generated - com_myPackage_HelloWorldCaller.h -file:
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_myPackage_HelloWorldCaller */
#ifndef _Included_com_myPackage_HelloWorldCaller
#define _Included_com_myPackage_HelloWorldCaller
#ifdef __cplusplus
extern "C" {
#endif
* Class: com_myPackage_HelloWorldCaller
* Method: displayHelloWorld
* Signature: ()V
JNIEXPORT void JNICALL Java_com_myPackage_HelloWorldCaller_displayHelloWorld
(JNIEnv *, jobject);
#ifdef __cplusplus
#endif
#endif
The implementation of the native dll function - HelloWorldImp.c -file
* File: HelloWorldImp.c
* Author: mike
* Created on 26. M?rz 2004, 14:34
#include <jni.h>
#include <stdio.h>
#include "com_myPackage_HelloWorldCaller.h"
/* The implementation of the native method
JNIEXPORT void JNICALL Java_com_myPackage_HelloWorldCaller_displayHelloWorld(JNIEnv *env, jobject obj)
printf("Hello world!\n");
return;
Compile the HelloWorldImp.c ? file to a *.dll
On MS Win with Cygwin, the following command builds a dynamic link library HelloWorldImp.dll:
This command is one line without line-breaks.
Check your include because I use the j2sdk1.4.2_04 if you want to do like me than install it.
For j2sdk1.4.2_04:
$ gcc -Wall -mno-cygwin -I/cygdrive/c/j2sdk1.4.2_04/include
-I/cygdrive/c/j2sdk1.4.2_04/include/win32 -shared
HelloWorldImp.c -Wl,--add-stdcall-alias -o HelloWorldImp.dllFor j2sdk1.4.2 as co-installation with NetBeans:
$ gcc -Wall -mno-cygwin -I/cygdrive/c/j2sdk1.4.2/j2sdk1.4.2/include
-I/cygdrive/c/j2sdk1.4.2/j2sdk1.4.2/include/win32 -shared
HelloWorldImp.c -Wl,--add-stdcall-alias -o HelloWorldImp.dll
The used Switches:
-Wall : switches on all warnings
-mno-cygwin : switches off the use of unix-API's, instead of it uses win32-calls
-I<directory> : defines a path to a directory with include *.h-files
-shared : advices the compiler to make shared libraries (*.so for linux and *.dll for win)
-Wl,<option> : Pass an option to the linker (for Wl: l is an L not an 1 and stands for linker)
-Wl,--add-stdcall-alias : pass the switch --add-stdcall-alias to the linker, advices the linker to add standardcalls so the exports have an standard-call alias as well.
The exports of the resulting dll:
If you want to test the exports yourself use : http://ftp.berlios.de/pub/unimatrix-fulda/win-devel/impdef.zip and compile it.
impdef.exe is a small program resulting the dll's EXPORTS to standard-device, screen:
$ impdef HelloWorldImp.dll
EXPORTS
Java_com_myPackage_HelloWorldCaller_displayHelloWorld
Java_com_myPackage_HelloWorldCaller_displayHelloWorld@8On Linux:
Not tested, only a sample copy from an other helping guy's text!
gcc -I../ -o libtestjni.so testjni.c ***many .a and .o here*** -shared -Wl,-soname,libnative.so
-I/usr/java/jdk/include -I/usr/java/jdk/include/linux -static -lc
On Solaris, the following command builds a shared library libhello.so:
Not tested, only a sample copy from an other helping guy's text!
cc -G -I/usr/local/java/include -I/usr/local/java/include/solaris \
HelloWorldImp.c -o libhello.so
On Microsoft Windows, the following command builds a dynamic link library hello.dll using Microsoft Visual C++ 4.0:
Not tested, only a sample copy from an other helping guy's text!
cl -Ic:\java\include -Ic:\java\include\win32
-LD HelloWorldImp.c -Fehello.dll
Set Your Library Path
DOS shell (Windows 95/NT)
On Windows 9x/NT/2000/(XP), the loadLibrary() method searches for DLLs in the same manner as other language environments do.
The java.library.path is the same as the systems %PATH%-variable.
Add the directory where your *.dll-file exists
SET PATH=%PATH%;X:YourDirectory
or copy your *.dll-file to one of the allready in the PATH mounted directories.
UNIX
% setenv LD_LIBRARY_PATH mylibrarypath
where mylibrarypath is the name of the directory that contains libhello.so.
MacOS
The Java runtime searches the JavaSoft Folder in the Extensions folder in the System Folder for shared libraries. Create an alias to your shared library in the JavaSoft Folder.
Execute the code
If it works fine:
$ java com.myPackage.HelloWorldCaller
start to load the library
load should already be done
Hello world!
If the dll is not found you get:
$ java com.myPackage.HelloWorldCaller
start to load the library
Exception in thread "main" java.lang.UnsatisfiedLinkError: no HelloWorldImp in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.myPackage.HelloWorldCaller.<init>(HelloWorldCaller.java:24)
at com.myPackage.HelloWorldCaller.main(HelloWorldCaller.java:34)
The java.library.path is not as he should be see: ?Set Your Library Path?
If the dll is loaded, but the native method is not reachable you get something like:
$ java com.myPackage.HelloWorldCaller
Exception in thread "main" java.lang.UnsatisfiedLinkError: displayHelloWorld
at com.myPackage.HelloWorldCaller.displayHelloWorld(Native Method)
at com.myPackage.HelloWorldCaller.main(HelloWorldCaller.java:25)
Check the Naming of your native methods C-implementation and the generation of standard-calls. -
My company is developing a game for the iPhone and iPad devices using Flash cs5.5 and Air3.0
The client requires that certain features be supported - such things like GameCenter, Rating system, etc... none of which is currently supported by flash for the iOS.
However, they did provide us with a bunch of xCode sample files on how they want things to work.
My idea was to bridge the gap in functionality by creating a native exention that utilized the xcode source that was given to me, thus giving me the functionality that is required.
But first, I need to actually CREATE a native extension, even just a basic echo/hello world... I have followed all the steps from various guides and tutorials and I have managed to create an ipa and put it on my iPad2 to test, but when the program starts up, nothing happens, I am left with a black screen. When I comment out the lines of code that intialize the extension, it fires up just fine.
(and yes, I even tried to put things in try blocks in case there was an error - no luck)
So I am hoping that someone can read through the process of what I am doing below and point out what I am doing wrong, or what I am missing.
What I am using:
Mac Mini running OSX 10.7.2 - this is used to run xCode 4.1 build 4B110
PC - Windows 7 home 64bit - Running Flash CS5.5 (version 11.5.1.3469) with the AIR 3.0 SDK inside it. I also have the AIR 3.0 sdk in a seperate folder for command line running. (This is my primary developement platform)
The PC does have flash builder installed, but I have never really used it, nor do I know how to use it... everything that has been built to date has been done using Flash CS5.5
So, this is what I have done.
The first thing I do is create a .a static library on the mac.
I open xcode and create a new project.
Select iOS Framework and Library, then select "Cocoa touch Static Library"
Give it a name, in this case "EchoExtension" and put it in a folder.
I then delete the EchoExtension.h file as all the samples I have seen to date don't use it.
I then add "FlashRuntimeExtension.h" to the project from the AIR3.0 sdk frameworks folder on my PC
I then delete everything in my .m file and, following several different examples and tutorials, type up the following code:
// EchoExtension.m
// EchoExtension
#include "FlashRuntimeExtensions.h"
FREObject echo(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]) {
return argv[0];
//----------- Extention intializer and finalizer ----------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------ -
// A native context instance is created
void ContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet) {
// setup the number of functions in this extention
// for easy reference, set the number of function that this extention will use.
int FunctionCount = 1;
// set the pointer reference to the number of function this extention will use.
*numFunctionsToTest = FunctionCount;
// create an array to store all the functions we will use.
FRENamedFunction* func = (FRENamedFunction*)malloc(sizeof(FRENamedFunction)*FunctionCount);
// create an array entry for each function
func[0].name = (const uint8_t*)"echo"; // the name of the function
func[0].functionData = NULL; // the data type
func[0].function = &echo; // reference to the actual function
// save the array in a pointer.
*functionsToSet = func;
// A native context instance is disposed
void ContextFinalizer(FREContext ctx) {
return;
// Initialization function of each extension
void ExtInitializer(void** extDataToSet, FREContextInitializer* ctxInitializerToSet, FREContextFinalizer* ctxFinalizerToSet) {
*extDataToSet = NULL;
*ctxInitializerToSet = &ContextInitializer;
*ctxFinalizerToSet = &ContextFinalizer;
// Called when extension is unloaded
void ExtFinalizer(void* extData) {
return;
I then go "Product", "Build" and it creates libEchoExtension.a
I copy this .a file over to my PC.
I am now finish with that god foresaken mac (*shudders*)
Back on my PC, I create a folder for my test project. For all intents an purposes, let's call this "D:\src\EchoExtension" I then create 2 folders, one called "lib" and one called "app". Lib is where I will create the actionscript source for my extension.
In my lib folder, I create a new fla in flash cs5.5 called "EchoExtension.fla"
I create in my lib folder, the following:
com\extensions\EchoExtension\EchoExtension.as
a folder called "Build" in which I place my libEchoExtension.a file.
in my EchoExtension.as file, I place the following code:
package com.extensions.EchoExtension
import flash.events.EventDispatcher;
import flash.events.IEventDispatcher;
import flash.external.ExtensionContext;
public class EchoExtension extends EventDispatcher
protected var _extensionContext:ExtensionContext;
* Constructor.
public function EchoExtension()
super();
// Initialize extension.
_extensionContext = ExtensionContext.createExtensionContext( "com.extensions.EchoExtension", "main" );
public function echo(Prompt:String):String
return _extensionContext.call( "echo" ) as String;
In my main fla, on the first layer of the time line, I simply put the following code to make sure that the as file get's included when I publish the swc.
import com.extensions.EchoExtension.EchoExtension;
var ext:EchoExtension = new EchoExtension();
stop();
I then open up my fla's publish settings, turn off the swf - which I don't need, and check the swc and make sure that it outputs into my build folder. "./Build/EchoExtension.swc"
I also set the player to Air 3.0 (which I can do since I have successfully integrated AIR 3.0 along side my AIR 2.6 and can build both without any problems)
I then publish the swc. So far, so good. No problems.
I then make a copy of the swc and rename it to EchoExtension.swc.zip, at which point I extract the library.swf file from it and also place it in my build folder.
I then create extension.xml in by build folder which contains the following code:
<extension xmlns="http://ns.adobe.com/air/extension/2.5">
<id>com.extensions.EchoExtension</id>
<versionNumber>1</versionNumber>
<platforms>
<platform name="iPhone-ARM">
<applicationDeployment>
<nativeLibrary>libEchoExtension.a</nativeLibrary>
<initializer>ExtInitializer</initializer>
<finalizer>ExtFinalizer</finalizer>
</applicationDeployment>
</platform>
</platforms>
</extension>
Now, at this point I am a little wary, because I am building for the iPad2... the platform is iPhone... I thought that may be a problem and at one point I tested the same build on the iPhone4 and had the same results. I have also tested it using the platform name of iPad-ARM and got the same results... So I don't think that is the problem, but I am unsure.
Now, to make things easier, I created a batch file called "buildane.bat" in my build folder. This is what I will use to create my .ane file and it contains the following command line:
D:\SDKs\AirSDK30\bin\adt -package -target ane EchoExtension.ane extension.xml -swc EchoExtension.swc -platform iPhone-ARM library.swf libEchoExtension.a
I then open a command prompt and run buildane.bat and poof. My ane is created. My build folder has the following files in it now:
buildane.bat
EchoExtension.ane
EchoExtension.swc
EchoExtension.swc.zip
extension.xml
libEchoExtension.a
library.swf
Now that I have my swc, ane, and all that, it's time to create my sample application that will be used to test my new extension.
I go back to my D:\src\EchoExtension folder and go into the app folder I created ealier.
I then create a new flash project called EchoExtensionTester.fla
I open the action script settings, library paths, and add the swc that I created in my D:\src\EchoExtension\lib\build folder to my project.
On my stage, I create an input text field called txtInput, a dynamic text field called txtEcho, and a couple of buttons called btnClear, btnRuntime, and btnEcho
I open up the first layer in the time line and place the following code:
// basic imports.
import flash.desktop.NativeApplication;
import flash.events.MouseEvent;
import flash.text.TextField;
// import the extension from our swc.
import com.extensions.EchoExtension.EchoExtension;
// set our input text field to need the softkeyboard
txtInput.needsSoftKeyboard = true;
// add the event handlers to our buttons.
btnEcho.addEventListener(MouseEvent.CLICK, btnEcho_Click);
btnClear.addEventListener(MouseEvent.CLICK, btnClear_Click);
btnRunTime.addEventListener(MouseEvent.CLICK, btnRunTime_Click);
// create our extension variable.
var ext:EchoExtension;
try
// initialize our echo extension.
ext = new EchoExtension();
} catch (e:Error) {
txtEcho.text = "Error trying to create new EchoExtension:\n\n" + e;
stop();
// clear the echo text field
function btnClear_Click(e:MouseEvent):void
txtEcho.text = "";
// just for testing, put the current version of air runtime into our text field so we can make sure we are running air 3.0
function btnRunTime_Click(e:MouseEvent):void
txtEcho.text += "\nRuntime version = " + NativeApplication.nativeApplication.runtimeVersion;
// call the extension, passing it whatever is in the input text field and have it return it and place it in our echo text field
function btnEcho_Click(e:MouseEvent):void
txtEcho.text += "\n";
try
txtEcho.text += ext.echo(txtInput.text);
} catch (e:Error) {
txtEcho.text += "\nError calling ext.echo: " + e;
I then save the project, Open the Air for iOS settings and set the following: (but yes, I know... I am going to have to use adt to do the build, but I need to create the swf first)
Output file: EchoExtensionTester.ipa
Appname: EchoExtensionTester
Version 1.0
Landscape
Fullscreen On
Auto orientation is off
rendering GPU
device: iPad and iPhone
Res: High
Deployement: I use my certificate and provisionging profile that I use for my Primary project (which work) and set for device testing.
I close the window and save again... but before I publish, I open newly created "EchoExtensionTester-app.xml" that is in my app folder.
I add <extensions> <extensionID>com.extensions.EchoExtension</extensionID> </extensions> to the xml file so now it looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/3.0">
<extensions>
<extensionID>com.extensions.EchoExtension</extensionID>
</extensions>
<id>EchoExtensionTester</id>
<versionNumber>1.0</versionNumber>
<filename>EchoExtensionTester</filename>
<description/>
<!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
<name>EchoExtensionTester</name>
<!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
<copyright/>
<initialWindow>
<content>EchoExtensionTester.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>landscape</aspectRatio>
<renderMode>gpu</renderMode>
<maximizable>true</maximizable>
<minimizable>true</minimizable>
<resizable>true</resizable>
<autoOrients>false</autoOrients>
</initialWindow>
<icon/>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>1</string><string>2</string></array>]]>
</InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
</application>
I save the changes to the xml and go back to flash. I then publish.
The swf is created as it should be, but then I get the error message:
Error creating files.
An implmentation for native extension 'com.extensions.EchoExtension' required by the application was not found for the target platform.
Now, while this is a pain in the rear, I new this was going to happen because in my reading of tutorials and samples, they all said that you must use adt to build the ipa... but that's fine... all I wanted anyway was the swf, which I now have in my app folder.
I close down flash as I don't need it anymore and I create a new batch file: (note: I change the names of the cert, provision profile, and password for this post)
cls
"D:\SDKs\AirSDK30\bin\adt" -package -target ipa-ad-hoc -storetype pkcs12 -keystore "D:\src\mycert.p12" -storepass MYPASSWORD -provisioning-profile "D:\src\myprovfile.mobileprovision" "EchoExtensionTester.ipa" "EchoExtensionTester-app.xml" "EchoExtensionTester.swf" -extdir ../lib/Build
set /p dummy=
echo done
I then open a command window in my app folder and run build.bat...
I wait about 2 minutes....
YAY! My ipa file has been created with no errors reported so far.... Time to copy this bad boy to the iPad and see what happens.
I open iTunes, drag "EchoExtensionTester.ipa" over to the Apps, then sync my device....
YAY! iTunes has successfully installed the ipa on the device... and there is by bright and shiney blank icon for Echo Extension Tester...
I open the app.... and.....
nothing.
I wait
still nothing.
I go to the bathroom.
I get back... still nothing... just a black screen.
I press the iPad home button, the app minimized, I restore it... nothing... black screen.
hrm. Time to do a little trial and error to see if I can figure out where the break down is.
As a test, I open my fla and I comment out the following lines:
ext = new EchoExtension();
txtEcho.text += ext.echo(txtInput.text);
I then rebuild the swf... get the same error (don't care)... I then rebuild the ipa using the batch file.... and re-install it on the device when it's done.
The exact same thing....
I open the xml file... and remove the <extensionID>com.extensions.EchoExtension</extensionID> line, save and re-run the batch file again... wait for the ipa to finish, and run it on the device.
I fire up the program on the iPad and it launches perfectly... except for the commented line of code to actually create and call the extension, everything works as it should. The runtime on the device is reporting as 3.0.0.4080
As a test, I open the .fla back up and uncomment the 2 lines I commented out above... keeping the extensionID out of the xml file, I re-publish the ipa.... of course, this time, it actually creates the ipa from flash because the extension id is not in the xml.
I put the ipa file with the extension code in place on the ipad... Fire it up and put some text into the txtInput and press the echo button. I get the following error:Error calling ext.echo: TypeError: Error #1009
I suspect that is because I failed into include the extension in the descriptor... but when I build it with the extensionid in the xml, I just get a black screen. I am 99% sure that the extension context in the ext object is null (because that is what happens when I run it in flash debug without the extension lines in the xml)
And here I am stuck.
Can anyone tell me what I am doing wrong or what I have forgotten to do?
Thanks.I have been trying to get the remote debugging working with my flash and ipad2... but I can't seem to figure it out. I looked at several tutorials, but the ipad build just doesn't want to seem to connect to the flash remote debugger.
Anyway... here is a little more information.
I moved the initialization of the extension from the start of the application to the button event itself. Now, the application will start up exactly as it's supposed to, but when I press the button that creates and initalizes the extension and does the echo call, the application crashes.
Here is the new code:
// basic imports.
import flash.desktop.NativeApplication;
import flash.events.MouseEvent;
import flash.text.TextField;
// import the extension from our swc.
import com.extensions.EchoExtension.EchoExtension;
// set our input text field to need the softkeyboard
txtInput.needsSoftKeyboard = true;
// add the event handlers to our buttons.
btnEcho.addEventListener(MouseEvent.CLICK, btnEcho_Click);
btnClear.addEventListener(MouseEvent.CLICK, btnClear_Click);
btnRunTime.addEventListener(MouseEvent.CLICK, btnRunTime_Click);
txtEcho.text += "Initialization complete.\n";
stop();
// clear the echo text field
function btnClear_Click(e:MouseEvent):void
txtEcho.text = "";
// just for testing, put the current version of air runtime into our text field so we can make sure we are running air 3.0
function btnRunTime_Click(e:MouseEvent):void
txtEcho.text += "Runtime version = " + NativeApplication.nativeApplication.runtimeVersion +"\n" ;
// call the extension, passing it whatever is in the input text field and have it return it and place it in our echo text field
function btnEcho_Click(e:MouseEvent):void
// create our extension variable.
try
var ext:EchoExtension = new EchoExtension();
txtEcho.text += ext.echo(txtInput.text) +"\n" ;
ext = null;
} catch (err:Error) {
txtEcho.text += "Error: " + err.message +"\n" ;
Now, program crashes are an entirely different animal because the ipad creates a crash log! YAY!
this is what the crash log contains:
Incident Identifier: 4BF67A2C-FD36-495D-BB56-B3DCA4772EB8
CrashReporter Key: 7a4dd56d46eb23a7701ad55245de2bca11c48b32
Hardware Model: iPad2,2
Process: EchoExtensionTester [9272]
Path: /var/mobile/Applications/90B3B31D-F516-4094-BE3B-88E1324419EC/EchoExtensionTester.app/Ech oExtensionTester
Identifier: EchoExtensionTester
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-10-28 14:17:48.145 -0300
OS Version: iPhone OS 4.3.5 (8L1)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 EchoExtensionTester 0x00813aac 0x1000 + 8465068
1 EchoExtensionTester 0x005f88ec 0x1000 + 6256876
2 EchoExtensionTester 0x00372ba4 0x1000 + 3611556
3 EchoExtensionTester 0x006dd7c8 0x1000 + 7194568
4 EchoExtensionTester 0x006dd25c 0x1000 + 7193180
5 EchoExtensionTester 0x006de304 0x1000 + 7197444
6 EchoExtensionTester 0x006dc750 0x1000 + 7190352
7 EchoExtensionTester 0x006730cc 0x1000 + 6758604
8 EchoExtensionTester 0x006dd0ac 0x1000 + 7192748
9 EchoExtensionTester 0x006dc750 0x1000 + 7190352
10 EchoExtensionTester 0x006730cc 0x1000 + 6758604
11 EchoExtensionTester 0x006dd0ac 0x1000 + 7192748
12 EchoExtensionTester 0x006dc750 0x1000 + 7190352
13 EchoExtensionTester 0x006730cc 0x1000 + 6758604
14 EchoExtensionTester 0x006dd0ac 0x1000 + 7192748
15 EchoExtensionTester 0x0032fc90 0x1000 + 3337360
16 EchoExtensionTester 0x00329e1c 0x1000 + 3313180
17 EchoExtensionTester 0x0032171c 0x1000 + 3278620
18 EchoExtensionTester 0x0032179c 0x1000 + 3278748
19 EchoExtensionTester 0x0032ae00 0x1000 + 3317248
20 EchoExtensionTester 0x00137328 0x1000 + 1270568
21 EchoExtensionTester 0x004f9a5c 0x1000 + 5212764
22 EchoExtensionTester 0x00035adc 0x1000 + 215772
23 EchoExtensionTester 0x002f6824 0x1000 + 3102756
24 EchoExtensionTester 0x002f7f18 0x1000 + 3108632
25 UIKit 0x35ef9bee 0x35ede000 + 113646
26 UIKit 0x35ef9568 0x35ede000 + 111976
27 UIKit 0x35ee230c 0x35ede000 + 17164
28 UIKit 0x35ee1c4c 0x35ede000 + 15436
29 GraphicsServices 0x321e9e70 0x321e5000 + 20080
30 CoreFoundation 0x316f3a90 0x3167e000 + 481936
31 CoreFoundation 0x316f5838 0x3167e000 + 489528
32 CoreFoundation 0x316f6606 0x3167e000 + 493062
33 CoreFoundation 0x31686ebc 0x3167e000 + 36540
34 CoreFoundation 0x31686dc4 0x3167e000 + 36292
35 GraphicsServices 0x321e9418 0x321e5000 + 17432
36 GraphicsServices 0x321e94c4 0x321e5000 + 17604
37 UIKit 0x35f0cd62 0x35ede000 + 191842
38 UIKit 0x35f0a800 0x35ede000 + 182272
39 EchoExtensionTester 0x001819e4 0x1000 + 1575396
40 EchoExtensionTester 0x00813a6c 0x1000 + 8465004
Thread 1:
0 libsystem_kernel.dylib 0x35afe3ec 0x35aec000 + 74732
1 libsystem_c.dylib 0x31bf06d8 0x31bbc000 + 214744
2 libsystem_c.dylib 0x31bf0bbc 0x31bbc000 + 215996
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x35afefbc 0x35aec000 + 77756
1 libdispatch.dylib 0x31660ed4 0x31660000 + 3796
2 libdispatch.dylib 0x31661f3a 0x31660000 + 7994
3 libdispatch.dylib 0x316614ec 0x31660000 + 5356
4 libsystem_c.dylib 0x31bf058a 0x31bbc000 + 214410
5 libsystem_c.dylib 0x31bf0bbc 0x31bbc000 + 215996
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x35afbc00 0x35aec000 + 64512
1 libsystem_kernel.dylib 0x35afb758 0x35aec000 + 63320
2 CoreFoundation 0x316f42b8 0x3167e000 + 484024
3 CoreFoundation 0x316f6562 0x3167e000 + 492898
4 CoreFoundation 0x31686ebc 0x3167e000 + 36540
5 CoreFoundation 0x31686dc4 0x3167e000 + 36292
6 WebCore 0x3248e27e 0x32488000 + 25214
7 libsystem_c.dylib 0x31bef30a 0x31bbc000 + 209674
8 libsystem_c.dylib 0x31bf0bb4 0x31bbc000 + 215988
Thread 4:
0 libsystem_kernel.dylib 0x35afdd18 0x35aec000 + 72984
1 libsystem_c.dylib 0x31c16860 0x31bbc000 + 370784
2 libsystem_c.dylib 0x31bbdeb2 0x31bbc000 + 7858
3 EchoExtensionTester 0x004aa090 0x1000 + 4886672
4 EchoExtensionTester 0x002a0b54 0x1000 + 2751316
5 EchoExtensionTester 0x004aa2fc 0x1000 + 4887292
6 EchoExtensionTester 0x004aa5e8 0x1000 + 4888040
7 EchoExtensionTester 0x004aa748 0x1000 + 4888392
8 libsystem_c.dylib 0x31bef30a 0x31bbc000 + 209674
9 libsystem_c.dylib 0x31bf0bb4 0x31bbc000 + 215988
Thread 5:
0 libsystem_kernel.dylib 0x35afdd18 0x35aec000 + 72984
1 libsystem_c.dylib 0x31c16860 0x31bbc000 + 370784
2 libsystem_c.dylib 0x31bbdeb2 0x31bbc000 + 7858
3 EchoExtensionTester 0x004aa090 0x1000 + 4886672
4 EchoExtensionTester 0x002a0b54 0x1000 + 2751316
5 EchoExtensionTester 0x004aa2fc 0x1000 + 4887292
6 EchoExtensionTester 0x004aa5e8 0x1000 + 4888040
7 EchoExtensionTester 0x004aa748 0x1000 + 4888392
8 libsystem_c.dylib 0x31bef30a 0x31bbc000 + 209674
9 libsystem_c.dylib 0x31bf0bb4 0x31bbc000 + 215988
Thread 6:
0 libsystem_kernel.dylib 0x35afbc74 0x35aec000 + 64628
1 libsystem_kernel.dylib 0x35afbf46 0x35aec000 + 65350
2 libsystem_c.dylib 0x31c16812 0x31bbc000 + 370706
3 libsystem_c.dylib 0x31c169fe 0x31bbc000 + 371198
4 EchoExtensionTester 0x004a9f60 0x1000 + 4886368
5 EchoExtensionTester 0x001b8908 0x1000 + 1800456
6 EchoExtensionTester 0x001b893c 0x1000 + 1800508
7 EchoExtensionTester 0x004aa2fc 0x1000 + 4887292
8 EchoExtensionTester 0x004aa5e8 0x1000 + 4888040
9 EchoExtensionTester 0x004aa748 0x1000 + 4888392
10 libsystem_c.dylib 0x31bef30a 0x31bbc000 + 209674
11 libsystem_c.dylib 0x31bf0bb4 0x31bbc000 + 215988
Thread 7:
0 libsystem_kernel.dylib 0x35afdd18 0x35aec000 + 72984
1 libsystem_c.dylib 0x31c16860 0x31bbc000 + 370784
2 libsystem_c.dylib 0x31bbde86 0x31bbc000 + 7814
3 EchoExtensionTester 0x004aa044 0x1000 + 4886596
4 EchoExtensionTester 0x0039367c 0x1000 + 3745404
5 EchoExtensionTester 0x004aa2fc 0x1000 + 4887292
6 EchoExtensionTester 0x004aa5e8 0x1000 + 4888040
7 EchoExtensionTester 0x004aa748 0x1000 + 4888392
8 libsystem_c.dylib 0x31bef30a 0x31bbc000 + 209674
9 libsystem_c.dylib 0x31bf0bb4 0x31bbc000 + 215988
Thread 0 crashed with ARM Thread State:
r0: 0x03ebb060 r1: 0x00000000 r2: 0x00000000 r3: 0x00000000
r4: 0x043b19e0 r5: 0x00000002 r6: 0x2fdfc178 r7: 0x2fdfc108
r8: 0x043b19e0 r9: 0x007d47d4 r10: 0x2fdfc1e4 r11: 0x043b19f0
ip: 0x00813aad sp: 0x2fdfc03c lr: 0x005f88f4 pc: 0x00813aac
cpsr: 0x68000030
Binary Images:
0x1000 - 0x8d6fff +EchoExtensionTester armv7 <4c58623df42ff7826b2bf3efab136467> /var/mobile/Applications/90B3B31D-F516-4094-BE3B-88E1324419EC/EchoExtensionTester.app/Ech oExtensionTester
0x2fe00000 - 0x2fe25fff dyld armv7 <4d3190188cbf32a8a73f32a8b5bb7adf> /usr/lib/dyld
0x30986000 - 0x309b9fff QuickLook armv7 <29d2d981d1d6358381f5716ee37314b4> /System/Library/Frameworks/QuickLook.framework/QuickLook
0x30ab8000 - 0x30abefff StoreKit armv7 <0deee3e11c7632aab98ab3c026d41e41> /System/Library/Frameworks/StoreKit.framework/StoreKit
0x30ac5000 - 0x30af3fff DataAccess armv7 <3a2e67aa1d8834b7a8fc2fbb56654b15> /System/Library/PrivateFrameworks/DataAccess.framework/DataAccess
0x30af4000 - 0x30b9afff GameKit armv7 <844f6d90111f3e81961a723f557dd2a1> /System/Library/Frameworks/GameKit.framework/GameKit
0x30bbf000 - 0x30c7efff CFNetwork armv7 <b09e0d53de9f3bc8bde494780f3cdd4f> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x30c81000 - 0x30d05fff AVFoundation armv7 <eeaf5f4f822436a5bd1655f536e69879> /System/Library/Frameworks/AVFoundation.framework/AVFoundation
0x30e07000 - 0x30f07fff libGLProgrammability.dylib armv7 <c0e6b958279639c098136283c6ad06a8> /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x30f08000 - 0x30f0bfff ActorKit armv7 <f7aa6cdd654231988aafcf448978f450> /System/Library/PrivateFrameworks/ActorKit.framework/ActorKit
0x30f0c000 - 0x30f52fff CoreTelephony armv7 <af7d1e770e5a3ffd8834a57fb5d40557> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x30f56000 - 0x30f5dfff AggregateDictionary armv7 <ab9777b39e8e3026ad64dc90323cad7e> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x30f85000 - 0x31072fff libiconv.2.dylib armv7 <f4146ce07e3031ea8a81fa5516fd77d0> /usr/lib/libiconv.2.dylib
0x3107a000 - 0x310affff AddressBook armv7 <3f2071a77bc134cd82065eef90d4082f> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x310b0000 - 0x311d1fff CoreGraphics armv7 <65f6c8701b563542820a26b0dfc4f6a4> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x31209000 - 0x31241fff IOKit armv7 <80ae313ad69d3363935c88e51a11862d> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x31242000 - 0x3129bfff EventKit armv7 <0d4e597ee229337183e96e921a72e30a> /System/Library/Frameworks/EventKit.framework/EventKit
0x312af000 - 0x3136bfff MapKit armv7 <806f9ca7eb593d1998587441ce87a396> /System/Library/Frameworks/MapKit.framework/MapKit
0x3136c000 - 0x31466fff GameKitServices armv7 <a69426414c4634cda77409d5890696ac> /System/Library/PrivateFrameworks/GameKitServices.framework/GameKitServices
0x31469000 - 0x314a6fff CoreText armv7 <fb6a72faec2330c4b2cd33c2e9c59588> /System/Library/Frameworks/CoreText.framework/CoreText
0x314a7000 - 0x314abfff libGFXShared.dylib armv7 <a0772a32cd8b3b9194bb0c29807c1c5b> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x314ac000 - 0x314c7fff FTServices armv7 <e23c3572bf3a36a3a99364d18c484f1e> /System/Library/PrivateFrameworks/FTServices.framework/FTServices
0x314c8000 - 0x31519fff libsqlite3.dylib armv7 <8a41cc6a6d9332308bc415d27577fd24> /usr/lib/libsqlite3.dylib
0x31624000 - 0x31626fff libAccessibility.dylib armv7 <d55f1553d14831a2a5435ae27ef75ef4> /usr/lib/libAccessibility.dylib
0x31627000 - 0x3165ffff libCGFreetype.A.dylib armv7 <416c77100b453e3f838831c4c857f8c7> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x31660000 - 0x3166dfff libdispatch.dylib armv7 <9a0511ad5ebc3db898f1f49ed1a73d34> /usr/lib/system/libdispatch.dylib
0x3167e000 - 0x31763fff CoreFoundation armv7 <a8444f997111304c9571b3ff974b769c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x31797000 - 0x317cefff Security armv7 <6599f42a910b3b31a0e1d98c883d61cb> /System/Library/Frameworks/Security.framework/Security
0x317cf000 - 0x317effff PrintKit armv7 <e5a01ca9083a36afacc08611a398e2ad> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x31851000 - 0x31858fff libbz2.1.0.dylib armv7 <0a082e1d475432959ba93aa3dbf7fb31> /usr/lib/libbz2.1.0.dylib
0x31ba0000 - 0x31ba8fff MobileBluetooth armv7 <63f11756c4aa3262b2317ff3b8e2a977> /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth
0x31bbc000 - 0x31c3dfff libsystem_c.dylib armv7 <17ee3fe220c23b1f898d21ba25b2bcac> /usr/lib/system/libsystem_c.dylib
0x31c5a000 - 0x31d6cfff MediaPlayer armv7 <da848c0745a637af81d7edd962a09324> /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x31d6d000 - 0x31e0afff AddressBookUI armv7 <e354aeb3d96e30338e90cc3638ffe81b> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x31e0b000 - 0x31e3afff SystemConfiguration armv7 <1d73b8a159363f96bb9c039655c5eae6> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x31e42000 - 0x31e4bfff MobileWiFi armv7 <03d98d5cf6383695aa7d8a88da52f410> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x31e4c000 - 0x31e4cfff libCVMSPluginSupport.dylib armv7 <42d8aa2a31843a6e8bfff745644a7ba5> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x31e4d000 - 0x31e4dfff Accelerate armv7 <7d5ad465049136afaa1f0d89aac600bc> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x31e6b000 - 0x31e6efff CaptiveNetwork armv7 <fc834fd33a18341ea7506587ad895703> /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x31e6f000 - 0x31e81fff TelephonyUI armv7 <e2c34b9a391e3384875ac552dbca0ad4> /System/Library/PrivateFrameworks/TelephonyUI.framework/TelephonyUI
0x31e82000 - 0x31e97fff libresolv.9.dylib armv7 <e92cfbb83f7b330db19181e797bb3f7b> /usr/lib/libresolv.9.dylib
0x31e98000 - 0x31ea3fff libz.1.dylib armv7 <ac706bee36593dc683fd5a96a389d72e> /usr/lib/libz.1.dylib
0x31ec7000 - 0x31ec9fff SpringBoardUI armv7 <90ba5da3e3e337e0a83e2c2589d951a8> /System/Library/PrivateFrameworks/SpringBoardUI.framework/SpringBoardUI
0x31ed3000 - 0x31ef0fff libsystem_info.dylib armv7 <48016be86e3f3cd9aeee1c6590e1ac6f> /usr/lib/system/libsystem_info.dylib
0x31ef2000 - 0x31ef4fff libgcc_s.1.dylib armv7 <a2631ac302f4310dae8367939e16b7c2> /usr/lib/libgcc_s.1.dylib
0x31f0c000 - 0x31f3ffff AppSupport armv7 <0217468bd9f839229a47910b7816b3d5> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x31f40000 - 0x31f43fff IOSurface armv7 <ad50e71624583d06b891344d832f9b08> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x31f64000 - 0x31f79fff OpenAL armv7 <162722d7da273d649798b27ae0e4458c> /System/Library/Frameworks/OpenAL.framework/OpenAL
0x31fa8000 - 0x31fb7fff MobileDeviceLink armv7 <563a09bcdb2f32369b1e22f53f58273a> /System/Library/PrivateFrameworks/MobileDeviceLink.framework/MobileDeviceLink
0x31fb8000 - 0x31ff4fff libGLImage.dylib armv7 <9d97699e44ee3651ba4ac37e5adec35b> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x31ff5000 - 0x3203ffff libstdc++.6.dylib armv7 <e98c3fd72ba43d02aac24b08f7219eb7> /usr/lib/libstdc++.6.dylib
0x32044000 - 0x3204bfff libMobileGestalt.dylib armv7 <55f29184efcc3046bb833dd72a4487e1> /usr/lib/libMobileGestalt.dylib
0x320af000 - 0x320d3fff MediaControl armv7 <1cfc7d79f554357ab59eb69f9efebf07> /System/Library/PrivateFrameworks/MediaControl.framework/MediaControl
0x320d6000 - 0x320dbfff libcopyfile.dylib armv7 <e32cf2d48a1f3060b372ca7623e4a12b> /usr/lib/system/libcopyfile.dylib
0x320df000 - 0x320e5fff BluetoothManager armv7 <7861bc6128d93f72877df2f234434a47> /System/Library/PrivateFrameworks/BluetoothManager.framework/BluetoothManager
0x320f2000 - 0x320f7fff liblaunch.dylib armv7 <f5ccc8234aea3ebd9a88bd37f0fa23ae> /usr/lib/system/liblaunch.dylib
0x32124000 - 0x32127fff MobileIcons armv7 <08e426f8a707388d8adda670bfed0c2e> /System/Library/PrivateFrameworks/MobileIcons.framework/MobileIcons
0x3216d000 - 0x321a0fff iCalendar armv7 <34ce1957082f3518b5740ac33cfc92eb> /System/Library/PrivateFrameworks/iCalendar.framework/iCalendar
0x321e5000 - 0x321f1fff GraphicsServices armv7 <ff78a9636e933f0dbd222f8d26209788> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x321f2000 - 0x32231fff libSystem.B.dylib armv7 <64cf947dd8423eeeb677f81dd3eb2d9d> /usr/lib/libSystem.B.dylib
0x32232000 - 0x3225bfff ContentIndex armv7 <ecd71782cd833360872b943ecc65d203> /System/Library/PrivateFrameworks/ContentIndex.framework/ContentIndex
0x32270000 - 0x322a5fff ImageCapture armv7 <2c474beec10f3791ac8a1d37df04600f> /System/Library/PrivateFrameworks/ImageCapture.framework/ImageCapture
0x322a6000 - 0x322dafff VideoToolbox armv7 <570c63dc3a273a5a8c9072fd5567f5c1> /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x32301000 - 0x32409fff CoreData armv7 <9843a401dd1d322383e3e40021cc8b95> /System/Library/Frameworks/CoreData.framework/CoreData
0x3240a000 - 0x3240cfff Marco armv7 <53203fa831ab34f894f3a3811bf3917c> /System/Library/PrivateFrameworks/Marco.framework/Marco
0x32440000 - 0x32443fff ArtworkCache armv7 <4863e321afee3ac5a3749e50cd926597> /System/Library/PrivateFrameworks/ArtworkCache.framework/ArtworkCache
0x32444000 - 0x32452fff OpenGLES armv7 <5a76beaeaa013f0cbf16e5cb154598ab> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x32468000 - 0x32487fff Bom armv7 <b178e3efb4d733c694bd5a55e57a314f> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x32488000 - 0x32a93fff WebCore armv7 <07941e59d0a33f94802c16c76238fddf> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x32a98000 - 0x32a9afff IOMobileFramebuffer armv7 <683f321680763e519d61541170ba2133> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x32a9b000 - 0x32adbfff CoreMedia armv7 <8e0570582ba535bfa74f1f00eef64376> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x32ade000 - 0x32ae1fff MediaRemote armv7 <0804293b2774359189f3a67e2c81558d> /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
0x32ae3000 - 0x32ae8fff libnotify.dylib armv7 <9d7198e91de9386a9e5ea43608a66a57> /usr/lib/system/libnotify.dylib
0x32be5000 - 0x32ed2fff libLAPACK.dylib armv7 <b855d60dac01310495453bddfd004f0d> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dyl ib
0x32f68000 - 0x32f69fff libremovefile.dylib armv7 <0fa08e1bb47a3d179072a933d1726597> /usr/lib/system/libremovefile.dylib
0x32f6a000 - 0x32fbffff libvDSP.dylib armv7 <0221caba81a235c5a896a835e2aac047> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x32fc0000 - 0x33084fff libobjc.A.dylib armv7 <a89ef30f6d663254babb6329ce02ca3d> /usr/lib/libobjc.A.dylib
0x33085000 - 0x330b3fff MIME armv7 <60de1fe0bbb134d788c09f7c34b1caa4> /System/Library/PrivateFrameworks/MIME.framework/MIME
0x330bc000 - 0x3311bfff libBLAS.dylib armv7 <0b36b2272aa33a8c9aa22d99c89d7189> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x33120000 - 0x331cffff QuartzCore armv7 <ef9632c9781f3101916b65e9faae1579> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x331d0000 - 0x331d2fff Camera armv7 <fd4d53b318ab35ce9bb89db3879120f0> /System/Library/PrivateFrameworks/Camera.framework/Camera
0x331fa000 - 0x331fdfff ApplePushService armv7 <015c68c15621348db9f6a012499170e1> /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x331fe000 - 0x3331dfff Foundation armv7 <09ff368178c5321c9715b9c8d491d53f> /System/Library/Frameworks/Foundation.framework/Foundation
0x3331e000 - 0x33361fff ManagedConfiguration armv7 <f790c26852cb3cf298abe56bc9a3940b> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x33391000 - 0x33396fff libsystem_dnssd.dylib armv7 <f019bc513a6a37f4a79555b3ffb2a777> /usr/lib/system/libsystem_dnssd.dylib
0x33439000 - 0x33446fff libbsm.0.dylib armv7 <0a1e2bb78d5138419ecad8ba0fe42fdd> /usr/lib/libbsm.0.dylib
0x3346f000 - 0x34ebdfff TextInput armv7 <f242acc046073c1598195dd26fd8ad6f> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x34f49000 - 0x34f4bfff CrashReporterSupport armv7 <9e7efa009730322f84bbc5d8bf1ded94> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x34f4e000 - 0x34f54fff IAP armv7 <c0f4c99a1b493e489948f231ad9238e2> /System/Library/PrivateFrameworks/IAP.framework/IAP
0x34f99000 - 0x34fe7fff GMM armv7 <049361f664eb3f30b0d25cd56ffc1f0f> /System/Library/PrivateFrameworks/GMM.framework/GMM
0x34fe8000 - 0x35031fff IMCore armv7 <9c1e280e1fa33fa784cad479b9cbd941> /System/Library/PrivateFrameworks/IMCore.framework/IMCore
0x35032000 - 0x35077fff IMAVCore armv7 <a4dbb6f1203e3f569080707b3a388573> /System/Library/PrivateFrameworks/IMAVCore.framework/IMAVCore
0x3507a000 - 0x35086fff HomeSharing armv7 <2df6957cdfea31aea12eebf27ca1691c> /System/Library/PrivateFrameworks/HomeSharing.framework/HomeSharing
0x3509e000 - 0x3516ffff IMGSGX543GLDriver armv7 <406a4fa178c036e78cdc9537d5332c2e> /System/Library/Extensions/IMGSGX543GLDriver.bundle/IMGSGX543GLDriver
0x35170000 - 0x3526ffff PhotoLibrary armv7 <03a0336e443b3d958419dab3d432b147> /System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary
0x35270000 - 0x35276fff liblockdown.dylib armv7 <14c89b7346433c1f8675f454531f6ca3> /usr/lib/liblockdown.dylib
0x352b1000 - 0x352dbfff libtidy.A.dylib armv7 <68abd33352613e80a099a46d38704085> /usr/lib/libtidy.A.dylib
0x352ff000 - 0x35303fff AssetsLibraryServices armv7 <e1cbfe599c96369ca4bdb0dd99d3cd9f> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x35304000 - 0x35346fff CoreAudio armv7 <c972fd5f8e89333ca680b9a33587f896> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x35347000 - 0x35351fff ExternalAccessory armv7 <eebb4bdbbefb37419b884ffa011e1dc5> /System/Library/Frameworks/ExternalAccessory.framework/ExternalAccessory
0x35352000 - 0x3535cfff AccountSettings armv7 <d083fb384dc7311eb6766b9b2d2dd9c8> /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x3536e000 - 0x3538efff AppleAccount armv7 <4e0ac5cf93b338ab8c5f34ba3c5e2ee4> /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount
0x3544b000 - 0x3544bfff libdnsinfo.dylib armv7 <21415179ffa03f949fa8cc851c6c31c7> /usr/lib/system/libdnsinfo.dylib
0x35645000 - 0x356eefff libxml2.2.dylib armv7 <5538d3f2c7d83b88b06168488fe6326b> /usr/lib/libxml2.2.dylib
0x356ef000 - 0x35809fff libicucore.A.dylib armv7 <bada0c2725bb31a483d5adf9aaf1f8df> /usr/lib/libicucore.A.dylib
0x35883000 - 0x3590dfff Message armv7 <2cce1aa95a493906bb0227197f9e4b96> /System/Library/PrivateFrameworks/Message.framework/Message
0x35911000 - 0x35a65fff AudioToolbox armv7 <6619c8c13f8d328e923e797fa8d0df23> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x35a6e000 - 0x35a73fff MobileKeyBag armv7 <8c35c090bc373cb181fc26b961b8dba5> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x35a77000 - 0x35ae6fff ProofReader armv7 <6d843c6aecdd37ae84baa40af8ad7e65> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x35aec000 - 0x35b03fff libsystem_kernel.dylib armv7 <c4ebe7eb2e6c3a2d9bd3620a4d6dbc0e> /usr/lib/system/libsystem_kernel.dylib
0x35b04000 - 0x35c50fff MediaToolbox armv7 <482b13059e8a329fa5d832baede25103> /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x35c51000 - 0x35c51fff libsystem_sandbox.dylib armv7 <f47c01d627853b328e088b3fdd08e87d> /usr/lib/system/libsystem_sandbox.dylib
0x35cab000 - 0x35cf2fff MessageUI armv7 <35a81f5d4eb03467a1447db80337e570> /System/Library/Frameworks/MessageUI.framework/MessageUI
0x35d49000 - 0x35d72fff MobileCoreServices armv7 <57fef84bdc17301d8bf53ba0fb967fe6> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x35d73000 - 0x35d8bfff iAd armv7 <7f6c5b4499ee383ea75f0cc8dcb5ca35> /System/Library/Frameworks/iAd.framework/iAd
0x35d8c000 - 0x35d9bfff Notes armv7 <d9c976ca976e3d029f69febd48f17601> /System/Library/PrivateFrameworks/Notes.framework/Notes
0x35d9d000 - 0x35db6fff libRIP.A.dylib armv7 <4825c3e392983aba947eca06555e4480> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x35db7000 - 0x35ea3fff GLEngine armv7 <f216c91c5fdb38a9ae65dc6651ccbd02> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
0x35ebb000 - 0x35edbfff MobileSync armv7 <4df400c4559435889eccd88db77a110c> /System/Library/PrivateFrameworks/MobileSync.framework/MobileSync
0x35edc000 - 0x35eddfff libsystem_blocks.dylib armv7 <ccc041df3de73eafb7a59e74cdb1702b> /usr/lib/system/libsystem_blocks.dylib
0x35ede000 - 0x3626bfff UIKit armv7 <c271b78464d93cb7bf28c6e49df293ba> /System/Library/Frameworks/UIKit.framework/UIKit
0x3626c000 - 0x3657ffff GeoServices armv7 <88616f3deada3bb495fc15e3ba58dc83> /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x365bb000 - 0x365cbfff WebBookmarks armv7 <6956561235333e74b8ff316cb2edc93e> /System/Library/PrivateFrameworks/WebBookmarks.framework/WebBookmarks
0x365dc000 - 0x36622fff CoreLocation armv7 <249b8af3dc503d11bf3711f0407c66d8> /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x36629000 - 0x36629fff vecLib armv7 <0c60cd0a60f43d2791d36cb357d30e3c> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x3663f000 - 0x36640fff CoreSurface armv7 <7b83cd757da73e6e826693c29296d3fa> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x36641000 - 0x366d6fff ImageIO armv7 <d520e3241d1130e8ac1375ee0f2c1095> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x366d7000 - 0x3679dfff MusicLibrary armv7 <71a09022bd8b3b6a90a250199d190f10> /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
0x3679e000 - 0x36844fff Celestial armv7 <407badafc6403692bf099d542d28bf7f> /System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x36847000 - 0x36849fff MobileInstallation armv7 <94b6d6c5d9883175af26764567528127> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x3684e000 - 0x36850fff MailServices armv7 <74ae0145ef713c6d91fd8f68885b0a61> /System/Library/PrivateFrameworks/MailServices.framework/MailServices
0x36851000 - 0x368b7fff EventKitUI armv7 <b3b568df80863f2e9374054bab335bf3> /System/Library/Frameworks/EventKitUI.framework/EventKitUI
0x369e7000 - 0x36a98fff WebKit armv7 <eb9a0d69c64b3127b2bffd71641add3b> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x36b4e000 - 0x36c7afff libmecabra.dylib armv7 <113de5f9858c32b8b158bfdc68042a97> /usr/lib/libmecabra.dylib
0x36c7c000 - 0x36c92fff EAP8021X armv7 <9fefc0ada30435fbb3b51818c74f6cb8> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x36c93000 - 0x36c99fff ProtocolBuffer armv7 <f9277ee9b85b3722975ad319a323aca0> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x36cda000 - 0x36cdefff libcache.dylib armv7 <362fdd2de66f3e189b5d139c9669a9e3> /usr/lib/system/libcache.dylib
0x36cdf000 - 0x36cf1fff PersistentConnection armv7 <659ea9d5b13d3fefb37acff09016a69c> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x36d08000 - 0x36d11fff ITSync armv7 <ba8b48d061903e4096774344448776d0> /System/Library/PrivateFrameworks/ITSync.framework/ITSync
0x36d13000 - 0x36e17fff JavaScriptCore armv7 <61a94142e2d23dafa2964190dd46e9e3> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x36e1b000 - 0x36e24fff CoreVideo armv7 <ea847e6dba2d36b1826b255c73b39539> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x36e25000 - 0x36e28fff libmacho.dylib armv7 <53908d448e9e32418652a4afee5bc578> /usr/lib/system/libmacho.dylib
0x36e29000 - 0x36e77fff CoreMotion armv7 <5e6b884d36d93789b40b7f3876130417> /System/Library/Frameworks/CoreMotion.framework/CoreMotion
0x36e7d000 - 0x36e7efff DataMigration armv7 <42e9e87a4e0735c3837e27d4f2adcf55> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x36e7f000 - 0x36e85fff AssetsLibrary armv7 <124dd93095423fcf8029d3c7614dffd4> /System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary
0x36ee6000 - 0x36ef9fff libmis.dylib armv7 <529ea6e3a87230ce9f6cf3285c22429c> /usr/lib/libmis.dylib
0x36f16000 - 0x36f17fff libsystem_network.dylib armv7 <3e0b7d6754cd33669c0680525f03ede1> /usr/lib/system/libsystem_network.dylib
0x36f18000 - 0x36f4bfff StoreServices armv7 <d526715648f435c3aac4c42953e76d20> /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x36fa9000 - 0x3706afff RawCamera armv7 <0c52d8b1498c3dbb9aad95f3bcd8261d> /System/Library/CoreServices/RawCamera.bundle/RawCamera
0x370b2000 - 0x370ddfff IMFoundation armv7 <f1f21bedbf2e3ea38f692abef0005d76> /System/Library/PrivateFrameworks/IMCore.framework/Frameworks/IMFoundation.framework/IMFo undation
0x370e4000 - 0x370e5fff libdyld.dylib armv7 <7dd4acfe150831e0ae82296587e67e7f> /usr/lib/system/libdyld.dylib
0x370ec000 - 0x370fcfff DataAccessExpress armv7 <66d9047da79a31daa887e6d84c42ecb2> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x37144000 - 0x37147fff CertUI armv7 <9060fe03a4943ef295531feced9a17dd> /System/Library/PrivateFrameworks/CertUI.framework/CertUI
0x37148000 - 0x37154fff SpringBoardServices armv7 <c68262667ac8397a949ce4e92dfec7db> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices -
Exception in Hello World Program in Hibernate
Hi All
I am trying to run my first "Hello World" hibernate program in the book "Java Persitance with Hibernate". I have written the model class and the main class.
I have also create the mapping file Message.hbm.xml and hibernate configuration file hibernate.cfg.xml through hibernate tools. Now when I am running the main class i am getting the following exception.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.hibernate.test.HibernateUtil.<clinit>(HibernateUtil.java:17)
at com.hibernate.test.HelloWorld.main(HelloWorld.java:15)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:223)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:120)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:269)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:255)
at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:165)
at com.hibernate.test.HibernateUtil.<clinit>(HibernateUtil.java:15)
... 1 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 9 moreI have added the following jars from the folder hibernate-distribution-3.5.2-Final\lib\required
commons-collections-3.1.jar
dom4j-1.6.1.jar
javassist-3.9.0.GA.jar
jta-1.1.jar
slf4j-api-1.5.8.jar
and hibernate3.jar to the classpath.
It would be great if someone could help me in resolving this problem
Thanks in advance
Fierof2user13519911 wrote:
I have posted this question here because this is a hibernate program with is related to database connectivity. What i would like to know is what is the jar file i am missing and why is it not present in the required folders of hibernate distribution.Yeah. With that kind of unproductive attitude I suddenly lose all interest in helping. So weird.
Guess I'll do what I like: be blunt. You are allowed to think. I suggest you do so. -
AIR Native Extension Application Crash on Android Emulator when Extension method is invoked
I have developed a Hello World Application using AIR Native Extension on Android Emulator and When i try to run the application its crashes. I was able to run same application sometimes back on Android Emulator on Mac. Right now I am using a Windows machine (as i dont have Mac anymore). I tried running same apk file which was compiled and running on Android emulator on Mac but it failed. Also i tried to recompile entire application from same code base but still it is failing. As far as i know Mac or windows should not play a part but still mentioning it out in the discussion. Also i tried running the application on various Android SDK version but with same results.
Following is logcat logs for Android 4.0.3.
D/gralloc_goldfish( 497): Emulator without GPU emulation detected.
I/ActivityManager( 84): Displayed air.com.deloitte.helloWorld/.AppEntry: +4s82
6ms
W/InputManagerService( 84): Starting input on non-focused client com.android.i
nternal.view.IInputMethodClient$Stub$Proxy@413e17e0 (uid=10009 pid=179)
W/ActivityManager( 84): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 84): Activity idle timeout for ActivityRecord{41534258 air.
com.deloitte.helloWorld/.AppEntry}
W/NetworkManagementSocketTagger( 84): setKernelCountSet(10009, 0) failed with
errno -2
E/dalvikvm( 497): JNI ERROR (app bug): attempt to use stale local reference 0x5
d500031
W/dalvikvm( 497): JNI WARNING: 0x5d500031 is not a valid JNI reference
W/dalvikvm( 497): in Lcom/adobe/air/customHandler;.nativeOnTouchCa
llback:(IFFFIFFZ[FI)Z (CallObjectMethodV)
I/dalvikvm( 497): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 497): | group="main" sCount=0 dsCount=0 obj=0x409c1460 self=0x128
10
I/dalvikvm( 497): | sysTid=497 nice=0 sched=0/0 cgrp=default handle=107408295
2
I/dalvikvm( 497): | schedstat=( 12139801627 5119955457 1265 ) utm=1128 stm=85
core=0
I/dalvikvm( 497): at com.adobe.air.customHandler.nativeOnTouchCallback(Native
Method)
I/dalvikvm( 497): at com.adobe.air.customHandler.nativeOnTouchCallback(Native
Method)
I/dalvikvm( 497): at com.adobe.air.customHandler.handleMessage(customHandler.
java:23)
I/dalvikvm( 497): at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 497): at android.os.Looper.loop(Looper.java:137)
I/dalvikvm( 497): at android.app.ActivityThread.main(ActivityThread.java:4424
I/dalvikvm( 497): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 497): at java.lang.reflect.Method.invoke(Method.java:511)
I/dalvikvm( 497): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.r
un(ZygoteInit.java:784)
I/dalvikvm( 497): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:
551)
I/dalvikvm( 497): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 497):
E/dalvikvm( 497): VM aborting
F/libc ( 497): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
I/DEBUG ( 34): Build fingerprint: 'generic/sdk/generic:4.0.3/MR1/237985:eng/
test-keys'
I/DEBUG ( 34): pid: 497, tid: 497 >>> air.com.deloitte.helloWorld <<<
I/DEBUG ( 34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00
d
I/DEBUG ( 34): r0 00000000 r1 00097bd8 r2 00000000 r3 00000000
I/DEBUG ( 34): r4 deadd00d r5 40872c58 r6 0000020c r7 49622e39
I/DEBUG ( 34): r8 4084ee67 r9 4084e703 10 4084ee73 fp 4084f546
I/DEBUG ( 34): ip 00000000 sp bed6a248 lr 4080bc8f pc 4080bc8e cpsr 600
00030
I/DEBUG ( 34): d0 3f8000003f800000 d1 4b00106845834000
I/DEBUG ( 34): d2 4b0010684b000000 d3 0000000045834000
I/DEBUG ( 34): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 34): d6 0000000000000000 d7 0000106800000000
I/DEBUG ( 34): d8 3f8000003f800000 d9 0000000000100000
I/DEBUG ( 34): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 34): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 34): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 34): scr 68000012
I/DEBUG ( 34):
I/DEBUG ( 34): #00 pc 00050c8e /system/lib/libdvm.so (dvmAbort)
I/DEBUG ( 34): #01 pc 0004486e /system/lib/libdvm.so
I/DEBUG ( 34): #02 pc 000451b0 /system/lib/libdvm.so
I/DEBUG ( 34): #03 pc 0004c9a0 /system/lib/libdvm.so
I/DEBUG ( 34): #04 pc 000e0e4a /data/data/com.adobe.air/lib/libCo
re.so
I/DEBUG ( 34):
I/DEBUG ( 34): code around pc:
I/DEBUG ( 34): 4080bc6c 34b4f8d3 ec54f7cd 26001e73 2f01f813 ...4..T.s..&...
I/DEBUG ( 34): 4080bc7c 42abb152 d0074416 4798e7f8 f7ff4c0a R..B.D.....G.L.
I/DEBUG ( 34): 4080bc8c 7026ffa7 ec4af7cd 2006490c 44794a0c ..&p..J..I. .Jy
D
I/DEBUG ( 34): 4080bc9c f7cd447a 2000eb00 ebc2f7cd 58e54b05 zD..... .....K.
X
I/DEBUG ( 34): 4080bcac 2b006c6b e7e9d1e9 deadd00d 0006234c kl.+........L#.
I/DEBUG ( 34):
I/DEBUG ( 34): code around lr:
I/DEBUG ( 34): 4080bc6c 34b4f8d3 ec54f7cd 26001e73 2f01f813 ...4..T.s..&...
I/DEBUG ( 34): 4080bc7c 42abb152 d0074416 4798e7f8 f7ff4c0a R..B.D.....G.L.
I/DEBUG ( 34): 4080bc8c 7026ffa7 ec4af7cd 2006490c 44794a0c ..&p..J..I. .Jy
D
I/DEBUG ( 34): 4080bc9c f7cd447a 2000eb00 ebc2f7cd 58e54b05 zD..... .....K.
X
I/DEBUG ( 34): 4080bcac 2b006c6b e7e9d1e9 deadd00d 0006234c kl.+........L#.
I/DEBUG ( 34):
I/DEBUG ( 34): memory map around addr deadd00d:
I/DEBUG ( 34): bed23000-bed71000 [stack]
I/DEBUG ( 34): (no map for address)
I/DEBUG ( 34): (no map above)
I/DEBUG ( 34):
I/DEBUG ( 34): stack:
I/DEBUG ( 34): bed6a208 00000000
I/DEBUG ( 34): bed6a20c 4001df19 /system/lib/libc.so
I/DEBUG ( 34): bed6a210 4004770c /system/lib/libc.so
I/DEBUG ( 34): bed6a214 4004c85c
I/DEBUG ( 34): bed6a218 00000000
I/DEBUG ( 34): bed6a21c 4001f121 /system/lib/libc.so
I/DEBUG ( 34): bed6a220 4004755c /system/lib/libc.so
I/DEBUG ( 34): bed6a224 00000000
I/DEBUG ( 34): bed6a228 0000020c
I/DEBUG ( 34): bed6a22c 49622e39 /data/data/com.adobe.air/lib/libCore.
so
I/DEBUG ( 34): bed6a230 4084ee67 /system/lib/libdvm.so
I/DEBUG ( 34): bed6a234 4001df37 /system/lib/libc.so
I/DEBUG ( 34): bed6a238 4086df90 /system/lib/libdvm.so
I/DEBUG ( 34): bed6a23c bed6a44b [stack]
I/DEBUG ( 34): bed6a240 df0027ad
I/DEBUG ( 34): bed6a244 00000000
I/DEBUG ( 34): #00 bed6a248 00000038
I/DEBUG ( 34): bed6a24c 6c756e28
I/DEBUG ( 34): bed6a250 0000296c
I/DEBUG ( 34): bed6a254 00000000
I/DEBUG ( 34): bed6a258 00000000
I/DEBUG ( 34): bed6a25c 00000000
I/DEBUG ( 34): bed6a260 00000000
I/DEBUG ( 34): bed6a264 00000000
I/DEBUG ( 34): bed6a268 00000000
I/DEBUG ( 34): bed6a26c 00000000
I/DEBUG ( 34): bed6a270 00000000
I/DEBUG ( 34): bed6a274 00000000
I/DEBUG ( 34): bed6a278 00000000
I/DEBUG ( 34): bed6a27c 00000000
I/DEBUG ( 34): bed6a280 00000000
I/DEBUG ( 34): bed6a284 00000000
I/DEBUG ( 34): bed6a288 00000000
I/DEBUG ( 34): bed6a28c 00000000
I/DEBUG ( 34): bed6a290 00000000
I/DEBUG ( 34): bed6a294 00000000
I/DEBUG ( 34): bed6a298 00000000
I/DEBUG ( 34): bed6a29c 00000000
I/DEBUG ( 34): bed6a2a0 00000000
I/DEBUG ( 34): bed6a2a4 00000000
I/DEBUG ( 34): bed6a2a8 00000000
I/DEBUG ( 34): bed6a2ac 00000000
I/DEBUG ( 34): bed6a2b0 00000000
I/DEBUG ( 34): bed6a2b4 00000000
I/DEBUG ( 34): bed6a2b8 00000000
I/DEBUG ( 34): bed6a2bc 00000000
I/DEBUG ( 34): bed6a2c0 00000000
I/DEBUG ( 34): bed6a2c4 00000000
I/DEBUG ( 34): bed6a2c8 00000000
I/DEBUG ( 34): bed6a2cc 00000000
I/DEBUG ( 34): bed6a2d0 00000000
I/DEBUG ( 34): bed6a2d4 00000000
I/DEBUG ( 34): bed6a2d8 00000000
I/DEBUG ( 34): bed6a2dc 00000000
I/DEBUG ( 34): bed6a2e0 00000000
I/DEBUG ( 34): bed6a2e4 00000000
I/DEBUG ( 34): bed6a2e8 00000000
I/DEBUG ( 34): bed6a2ec 00000000
I/DEBUG ( 34): bed6a2f0 00000000
I/DEBUG ( 34): bed6a2f4 00000000
I/DEBUG ( 34): bed6a2f8 00000000
I/DEBUG ( 34): bed6a2fc 00000000
I/DEBUG ( 34): bed6a300 00000000
I/DEBUG ( 34): bed6a304 00000000
I/DEBUG ( 34): bed6a308 00000000
I/DEBUG ( 34): bed6a30c 00000000
I/DEBUG ( 34): bed6a310 00000000
I/DEBUG ( 34): bed6a314 00000000
I/DEBUG ( 34): bed6a318 00000000
I/DEBUG ( 34): bed6a31c 00000000
I/DEBUG ( 34): bed6a320 00000000
I/DEBUG ( 34): bed6a324 00000000
I/DEBUG ( 34): bed6a328 00000000
I/DEBUG ( 34): bed6a32c 00000000
I/DEBUG ( 34): bed6a330 00000000
I/DEBUG ( 34): bed6a334 00000000
I/DEBUG ( 34): bed6a338 00000000
I/DEBUG ( 34): bed6a33c 00000000
I/DEBUG ( 34): bed6a340 00000000
I/DEBUG ( 34): bed6a344 00000000
I/DEBUG ( 34): bed6a348 00000000
I/DEBUG ( 34): bed6a34c 00000000
I/DEBUG ( 34): bed6a350 00000000
I/DEBUG ( 34): bed6a354 00000000
I/DEBUG ( 34): bed6a358 00000000
I/DEBUG ( 34): bed6a35c 00000000
I/DEBUG ( 34): bed6a360 00000000
I/DEBUG ( 34): bed6a364 00000000
I/DEBUG ( 34): bed6a368 00000000
I/DEBUG ( 34): bed6a36c 00000000
I/DEBUG ( 34): bed6a370 00000000
I/DEBUG ( 34): bed6a374 00000000
I/DEBUG ( 34): bed6a378 00000000
I/DEBUG ( 34): bed6a37c 00000000
I/DEBUG ( 34): bed6a380 00000000
I/DEBUG ( 34): bed6a384 00000000
I/DEBUG ( 34): bed6a388 00000000
I/DEBUG ( 34): bed6a38c 00000000
I/DEBUG ( 34): bed6a390 00000000
I/DEBUG ( 34): bed6a394 00000000
I/DEBUG ( 34): bed6a398 00000000
I/DEBUG ( 34): bed6a39c 00000000
I/DEBUG ( 34): bed6a3a0 00000000
I/DEBUG ( 34): bed6a3a4 00000000
I/DEBUG ( 34): bed6a3a8 00000000
I/DEBUG ( 34): bed6a3ac 00000000
I/DEBUG ( 34): bed6a3b0 00000000
I/DEBUG ( 34): bed6a3b4 00000000
I/DEBUG ( 34): bed6a3b8 00000000
I/DEBUG ( 34): bed6a3bc 00000000
I/DEBUG ( 34): bed6a3c0 00000000
I/DEBUG ( 34): bed6a3c4 00000000
I/DEBUG ( 34): bed6a3c8 00000000
I/DEBUG ( 34): bed6a3cc 00000000
I/DEBUG ( 34): bed6a3d0 00000000
I/DEBUG ( 34): bed6a3d4 00000000
I/DEBUG ( 34): bed6a3d8 00000000
I/DEBUG ( 34): bed6a3dc 00000000
I/DEBUG ( 34): bed6a3e0 00000000
I/DEBUG ( 34): bed6a3e4 00000000
I/DEBUG ( 34): bed6a3e8 00000000
I/DEBUG ( 34): bed6a3ec 00000000
I/DEBUG ( 34): bed6a3f0 00000000
I/DEBUG ( 34): bed6a3f4 00000000
I/DEBUG ( 34): bed6a3f8 00000000
I/DEBUG ( 34): bed6a3fc 00000000
I/DEBUG ( 34): bed6a400 00000000
I/DEBUG ( 34): bed6a404 00000000
I/DEBUG ( 34): bed6a408 00000000
I/DEBUG ( 34): bed6a40c 00000000
I/DEBUG ( 34): bed6a410 00000000
I/DEBUG ( 34): bed6a414 00000000
I/DEBUG ( 34): bed6a418 00000000
I/DEBUG ( 34): bed6a41c 00000000
I/DEBUG ( 34): bed6a420 00000000
I/DEBUG ( 34): bed6a424 00000000
I/DEBUG ( 34): bed6a428 00000000
I/DEBUG ( 34): bed6a42c 00000000
I/DEBUG ( 34): bed6a430 00000000
I/DEBUG ( 34): bed6a434 00000000
I/DEBUG ( 34): bed6a438 00000000
I/DEBUG ( 34): bed6a43c 00000000
I/DEBUG ( 34): bed6a440 00000000
I/DEBUG ( 34): bed6a444 00000000
I/DEBUG ( 34): bed6a448 00000000
I/DEBUG ( 34): bed6a44c 342b19f5
I/DEBUG ( 34): bed6a450 00000000
I/DEBUG ( 34): bed6a454 4086df90 /system/lib/libdvm.so
I/DEBUG ( 34): bed6a458 5d500031
I/DEBUG ( 34): bed6a45c 407ff873 /system/lib/libdvm.so
I/DEBUG ( 34): #01 bed6a460 bed6a54c [stack]
I/DEBUG ( 34): bed6a464 408001b5 /system/lib/libdvm.so
D/Zygote ( 37): Process 497 terminated by signal (11)
I/WindowManager( 84): WIN DEATH: Window{41462cb0 SurfaceView paused=false}
I/ActivityManager( 84): Process air.com.deloitte.helloWorld (pid 497) has died
W/ActivityManager( 84): Force removing ActivityRecord{41534258 air.com.deloitt
e.helloWorld/.AppEntry}: app died, no saved state
W/NetworkManagementSocketTagger( 84): setKernelCountSet(10041, 0) failed with
errno -2
I/WindowManager( 84): WIN DEATH: Window{41590db8 SurfaceView paused=false}
I/WindowManager( 84): WIN DEATH: Window{4158b920 air.com.deloitte.helloWorld/a
ir.com.deloitte.helloWorld.AppEntry paused=false}
I/BootReceiver( 84): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_
TOMBSTONE)
E/InputDispatcher( 84): Received spurious receive callback for unknown input c
hannel. fd=209, events=0x8
D/dalvikvm( 84): GC_FOR_ALLOC freed 928K, 13% free 11284K/12871K, paused 84ms
W/NetworkManagementSocketTagger( 84): setKernelCountSet(10009, 1) failed with
errno -2
D/dalvikvm( 84): GC_CONCURRENT freed 141K, 10% free 11601K/12871K, paused 6ms+
14ms
D/dalvikvm( 84): GC_FOR_ALLOC freed 177K, 11% free 11552K/12871K, paused 128ms
D/dalvikvm( 84): GC_FOR_ALLOC freed 128K, 10% free 11616K/12871K, paused 84ms
D/dalvikvm( 84): GC_FOR_ALLOC freed 427K, 12% free 11445K/12871K, paused 79ms
W/InputManagerService( 84): Got RemoteException sending setActive(false) notif
ication to pid 497 uid 10041
D/dalvikvm( 136): GC_FOR_ALLOC freed 5544K, 37% free 9812K/15495K, paused 47ms
D/dalvikvm( 179): GC_FOR_ALLOC freed 2416K, 21% free 17911K/22535K, paused 77ms
D/dalvikvm( 179): GC_FOR_ALLOC freed 659K, 17% free 18828K/22535K, paused 100ms
D/dalvikvm( 179): GC_CONCURRENT freed 941K, 12% free 19900K/22535K, paused 6ms+
20ms
D/dalvikvm( 179): GC_CONCURRENT freed 3259K, 18% free 18684K/22535K, paused 12m
s+23msI am not able to solve this yet. Is anybody else facing this this problem.
-
AIR Native Extensions. How to loop FREObject properties?
Hello.
We're working on a new AIR Native Extension, the goal is to run javascript code inside AIR. However that's actually not directly related to the problem.
The problem itself:
- we need to pass some AS3-objects to the javascript runtime
- javascript runtime (SpiderMonkey) has a different GC, different memory aligning and a lot of other things, that differs from AIR
- the only suitable way for us is to iterate through AS3-Object properties and to create a mirror-object in SpiderMonkey
- we do not have such an API in FlashRuntimeExtensions.h which would allow us to iterate Object properties
So the question is - is there any way to iterate on AS3-Object properties in С/С++ side of a Native Extension?
If there is not than the only possibility for us is to use JSON-strings which is actually far from optimal.
Thanks in advance,
DenisThanks for your reply but they are for sale actually, not open sourced... for example: http://myappsnippet.com/gcm/ which supports custom notification icons and sounds...
-
Hello World App : Exception in thread "main" java.lang.NoClassDefFoundErro
Hi
I have downloaded a latest version of JDK, I have several other versions on my machine from other times i endeavored to work on Java, but never got to doing so.
I have compiled the HelloWorldApp (code below) but when i try to run it, I get the error below: My java version is listed as 1.5.0_06. Any insight would be great.
F:\GamingExtravaGanza>java HelloWorldApp.class
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp/class
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}F:\GamingExtravaGanza>java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
MikeI had tried without the class extension, too. Anyone have ideas for why i am getting the error ?
F:\GamingExtravaGanza>java HelloWorldApp
Exception in thread "main" java.lang.UnsupportedClassVersionError:
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Sour
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Metho
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Sourc
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source) -
I found some tutorial on SUN site on how to use JNI. I'm using Eclipse to compije Java and C (via Cygwin) files. Here are complete files:
Hello.java:
class Hello
public native void sayHello();
static
try
System.loadLibrary("hello");
catch(Exception e)
System.out.println("exc");
public static void main(String[] args)
Hello h = new Hello();
h.sayHello ();
}Hello.c:
#include <mingw/_mingw.h> //because there are some types needed for JNI
#include <jni.h>
#include "Hello.h"
#include <stdio.h>
JNIEXPORT void JNICALL Java_Hello_sayHello
(JNIEnv *env, jobject obj)
printf("Hello world!\n");
return;
}Makefile:
hello.dll : Hello.o Hello.def
gcc -g -shared -Wl,--kill-at -o hello.dll Hello.o hello.def
Hello.o : Hello.c Hello.h
gcc -c -g -I"$(JAVA_HOME)\include" -I"$(JAVA_HOME)\include\win32" Hello.c -o Hello.o
Hello.h : Hello.class
javah -jni Hello
clean :
rm Hello.h
rm Hello.o
rm hello.dllHello.def
EXPORTS
Java_Hello_sayHelloEverything goes well, but when I run java program it does nothin (it should print message, but it just exit without any error).I'm sure that it's something stupid, but I cant see what. Can anyone tell me what am I doing wrong?
Thenks.Answer 1: yes, there was no problem. I compiled and started simple 'hello world' program from Cygwin and from WinXP console, and it worked well.
Answer 2: This is weird, I changed code to this:
Hello.java:
public native int getInt();
System.out.println("Returned int is " + h.getInt());Hello.c:
JNIEXPORT jint JNICALL Java_Hello_getInt
(JNIEnv *env, jobject obj)
return 25;
}It does not print anything. I started this program from Cygwin and from WinXP console, and from Eclipse. Only if I debug in Eclipse (step by step) I get:
Returned int is 25and still I don't get Hello string printed (even if I go step by step). It looks like cygwin has some problem with OS. Do you have any idea what to do, I'm a bit confused?
Thank you.
Message was edited by:
zly -
How can I remove "Hello World!" from my browser menu bar
I just noticed there'e something in my brower menu bar that has never been there before. Next to the other menu options (File, Edit, View, History, etc.) appears the words"Hello World!". I know it wasn't there two weeks ago, and it's highly unlikely I would have missed seeing it a few days ago when I last did extensive browsing. In hopes of fixing the problem myself, I deleted the only two FF add-ons installed to my PC in the past month. I also ran a system restore to a point created 35 days ago. But "Hello World!" still remained in the menu bar. When I try clicking it on, nothing happens. I tried removing it by pressing the "Customize"option in the toolbar, but it "Hello World!" would not drag down from the menu bar. I was still running FF version 22.0., and when I saw that an update to FF 23.0 was available, I ran the update, but this did nothing the fix my issue (I'm currently back to FF22.0, due to the System Restore that I ran earlier). Finally, I went to both my "Program Files" folders, and sorted them using "Date Modified", to identify any programs changed or added in the past several weeks. There were only a few programs changed in this timespan, so I scoured all files within those few folders, but nothing stood out as unusual. CAn anyone tell me what this "Hello World!" is or why it is appearing in my menu bar? Most importantly, would anyone know how I can remove it permanently ? Following Firefox's instructions, I've created a Print Screen photo showing my brower toolbars, including the menu bar ( at the very top just above my address bar), so that you can see where "Hello World!" appears. Not sure yet how to attach the PrtScn photo to this question I'm about to submit, so if it doesn't make it to the forum with my question, I can send it to anyone who emails me a reply.
Thank You.THis is a reply to my own question, so that I can upload the Print Screen image of my browser toolbar. Look for "Hello World!" at the top, just above my address bar. Thanks again to anyone who can help me remove this from my menu bar.
-
Error while running Hello world from Tutorial
Hi ,
I am facing a strange problem while running Hello world from tutorial. The page expires after running for half an hour and the log in the Jdeveloper is
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Jdev\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\Jdev\jdevbin\j2ee\home\oc4j.jar;C:\Jdev\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdev\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdev\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdev\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 5782 ms.
Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
Tutalii: C:\Jdev\jdevbin\jdev\appslibrt\iasjoc.zip archive
[Feb 27, 2008 4:31:57 PM IST]:1204110117921:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.io.FileNotFoundException: C:\u01\VIS\FND.log (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at oracle.apps.fnd.common.logging.FileHandleManager.getFileInternal(FileHandleManager.java:99)
at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:99)
at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:79)
at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1198)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:949)
at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
at oracle.apps.jtf.base.resources.Architecture.createWebAppsContext(Architecture.java:429)
at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:422)
at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:330)
at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:90)
at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:34)
at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:595)
at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:364)
at oracle.apps.jtf.cache.CacheAdmin.isComponentRegistered(CacheAdmin.java:314)
at oracle.apps.fnd.cache.Cache.registerCacheIfNeeded(Cache.java:119)
at oracle.apps.fnd.cache.Cache.initCache(Cache.java:110)
at oracle.apps.fnd.cache.Cache.<init>(Cache.java:88)
at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:87)
at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:280)
at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:482)
at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3834)
at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:942)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:825)
at oracle.apps.fnd.common.Context.setProfileStore(Context.java:807)
at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3484)
at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:534)
[Feb 27, 2008 4:31:57 PM IST]:1204110117890:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.FileHandler.publish]:Please check File Permission/Disk Space for: /u01/VIS/FND.log, defaulting Logging to STDERR
Can any one help!!
Thanks,
Sid..Sid,
1) Check your using the correct version of Jdev with your instance.
Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
Will give the mappings.
And check the Jdev setting
330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
2) Instead of using the tutorial, create a sample page, Am and run the page.
Check what error you are getting.
Thanks.
With Regards,
Kali.
OSSI. -
Error while initiating start case from the EM for Hello World project
Hi Team,
I am getting the below error while testing the startCase from the EM. Applied the required patches.
<Dec 16, 2013 1:01:09 PM IST> <Error> <oracle.bpm.casemgmt.event> <BEA-000000> <Exception
BPM-73200
Error in raising event.
Error in raising event.
Review the error to correct the error.
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:12
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jms.bpm.CaseEventConnectionFactory
'. Resolved 'jms.bpm'; remaining name 'CaseEventConnectionFactory'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.bpm.casemgmt.event.CaseEventPublisher.init(CaseEventPublisher.java:87)
at oracle.bpm.casemgmt.event.CaseEventPublisher.publish(CaseEventPublisher.java:125)
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:11
4)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Dec 16, 2013 1:01:10 PM IST> <Error> <oracle.bpm.casemgmt.instance> <BEA-000000> <Exception
BPM-73200
Error in raising event.
Error in raising event.
Review the error to correct the error.
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:12
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.naming.NameNotFoundException: Unable to resolve 'jms.bpm.CaseEventConnectionFactory
'. Resolved 'jms.bpm'; remaining name 'CaseEventConnectionFactory'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at oracle.bpm.casemgmt.event.CaseEventPublisher.init(CaseEventPublisher.java:87)
at oracle.bpm.casemgmt.event.CaseEventPublisher.publish(CaseEventPublisher.java:125)
at oracle.bpm.casemgmt.impl.CaseEventServiceImpl.raiseCaseEvent(CaseEventServiceImpl.java:11
4)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy339.raiseCaseEvent(Unknown Source)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.raiseEvent(RaiseEventAdvice.java:190)
at oracle.bpm.casemgmt.interceptors.RaiseEventAdvice.processResult(RaiseEventAdvice.java:90)
at oracle.bpm.casemgmt.interceptors.CaseServiceAdvice.invoke(CaseServiceAdvice.java:209)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy338.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService.startCase(CaseManagementService.java:283)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.ja
va:34)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentI
nterceptorCallbackImpl.java:54)
at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invok
e(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doP
roceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.inv
oke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
at $Proxy321.startCase(Unknown Source)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.__WL_invoke(Unknown
Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvo
ker.java:40)
at oracle.bpm.casemgmt.ejb.CaseManagementService_m764e8_ICaseServiceImpl.startCase(Unknown S
ource)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.ja
va:85)
at $Proxy194.startCase(Unknown Source)
at oracle.bpm.casemgmt.fabric.CaseManagementServiceEngine.request(CaseManagementServiceEngin
e.java:264)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMe
ssageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy380.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessi
ng(WebServiceEntryBindingComponent.java:1636)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMe
ssage(WebServiceEntryBindingComponent.java:1016)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java
:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.j
ava:1187)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcesso
r.java:1123)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.ja
va:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:235)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServle
t.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServ
letContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
Could you please help me on this.
Thank you,
Keshav ChHi Keshav,
hard to say without seeing your source code. I'd recommend to try it with the Hello World approach that you can find here: http://www.ateam-oracle.com/case-management-in-practice-helloworld/
There you'll find in detail how to create a case mgmt. project and how to test it. If this doesn't work please send some details regarding your environment (Patchset, applied patches, etc.)
Regards, Danilo -
While running hello world program for 12.1.1 getting "Error Page"
Hi all,
I am beginner for JDeveloper, I have followed up the instructions given in tutorial documents to install these applications "Tutorials, LabSolutions and Hello World!" but all are giving me this error.
Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance.
I had tried most of the given solutions in this forum , but still I can not find solution for my problem.
Any help please!
Regards
HeshamHi,
right now I am playing with parameters , reading
and now i got this error please check if it make sense for you .
500 Internal Server Error
oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object. at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524) at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1108) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225) at OAErrorPage.jspService(_OAErrorPage.java:62) [OAErrorPage.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at test_fwktutorial._jspService(_test__fwktutorial.java:104) [test_fwktutorial.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object. at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286) at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027) at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583) at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300) at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728) at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453) at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500) ... 49 moreCaused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Got minus one from a read call at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423) at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1218) at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1113) at oracle.apps.fnd.security.AppsConnectionManager.localAppsConnect(AppsConnectionManager.java:1102) at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:787) at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273) ... 62 moreCaused by: java.sql.SQLException: Io exception: Got minus one from a read call at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:140) at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410) ... 72 more
--------------
Maybe you are looking for
-
Firefox lento e travando muito, mesmo em uma boa configuração
Boa tarde. Depois de um tempo resolvi voltar a usar o Firefox, porém ele está travando muito no meu computador. Ele não para de responder , mas em páginas que contém muitos anúncios, ou vídeos, ele fica travando, e as vezes até em páginas mais leves.
-
Nokia no longer hosting Booklet 3G drivers/apps?
Noticed the drivers/applications link is now dead and the only item relating to the Booklet on the whole nokia site is an archived user manual.... This might cause problems for those doing clean installs on new hard drives? Anyobody know if these are
-
How to install hp deskjet 920c printer?
I was trying to install this printer, but the macbook doesn't take the software
-
Airport Extreme disappears after waking from sleep.
Here is a strange one for the experts out there... I recently purchased an Airport Extreme card for my G4 Powermac (FW800). It is the Broadcom BCM43xx 1.0 (4.170.25.8). It installs easy, and it works great. I can connect to my Airport Express with no
-
Very slow broadband speed following line fault
Having recently had a noisy line fault repaired I have been left with broadband that is running at a very slow speed. Having read several other posts on this forum it seems that my IP profile needs resetting in the local exchange. I am reluctant to t