Proceed to the Hello World example
I had another thread that I hurt the XMLImporter Stadium to deploy my web HelloWorld to e-Business suite application.Now with one imported successfully, I created the menus and the responsibility of calling this page, and (because I was afraid of) it doesn't work. As this is my first application in this kind of thing, I'm quite lost...
The error I get when I call the HelloWorld page is:
oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.ak.hello.webui.HeyCO) associated with the area: (MainRN). It is probably because the class name is incorrect or not included in the project.
I copied the "HeyCO.java" for the file system of the server - it is stored in the folder:
/MyTest/Oracle/dbcomn/Java/Oracle/Apps/AK/Hello/WebUI/HeyCO.Java
What Miss me? I am also new to Java programming, so please excuse my lack of knowledge about these things.
Thank you
Andras
do not copy the *.java files.
You must copy the files *.class your jdeveloper to the server.
for example:
If your path to file in jdeveloper is
$jdev_home/myprojects/oracle/apps/ap/setup/webui/setupCO.java
Then place your class files in the following path in the instance
$JAVA_TOP/oracle/apps/ap/setup/webui/setupCO.class
Prasanna-
Tags: Oracle Applications
Similar Questions
-
problem setting env dev on a Mac to run the Hello World application
Hello
I'm having some problems of setting up my development environment and you try to run the "Hello World" application I would be very grateful if someone can help me.
I'm on a Mac with:
+ OS X 10.7.4
+ Eclipse 3.7.2 (Build id: M20120208-0800)
+ Java such as reported by "java-version": versionJava version "1.6.0_33".
Java (TM) SE Runtime Environment (build 1.6.0_33 - b03-424 - 11 M 3720)
Java 64-Bit Server VM (build 20, 8-b03-424, mixed mode)As I already had an Eclipse environment, I installed the plugin BlackBerry Java (and all available BlackBerry SDK) following the instructions "add the BlackBerry in Eclipse (Mac) Update site.
https://developer.BlackBerry.com/Java/download/Eclipse?OS=MacIf you follow the tutorial Hello BlackBerry ( https://developer.blackberry.com/java/documentation/first_app_1968215_11.html ), after clicking "Finish."
a dialog box titled "Error - BlackBerry Java Development Environment" appears with the message:"Cannot find RIMUsbJni.dll. Without this dll, that FDI can not connect to the computers active USB pocket.
Add RIMUsbJni in java.library.path ".... with the "OK" buttons and "don't show me this message again."
As I read in another thread that maybe that's because 64-bit JDK is used instead of the JDK 32-bit ( http://supportforums.blackberry.com/t5/Java-Development/Cannot-find-RIMIDEWin32Util-dll/m-p/342343#M... ), I used the OS X 'Java Preferences.app' to set the 32-bit as the preferred Java JRE, but I still get the same error.
OTOH, I still have the 64-bit installed eclipse. Does it really matter? Do I have to remove the 64-bit eclipse and install the 32-bit eclipse to solve this problem?
Thanks in advance.
Replying to myself:
I deleted my 64-bit Eclipse and install the "plug-in for Eclipse BlackBerry" for developers without an existing Eclipse environment. Now it works, I was able to load the app into my BB and run it, so...
It seems that the eclipse of 64-bit cannot be used for the development of Java of BB; the eclipse of 32 bits is required.
-
Deploy the Hello world on a test Oracle eBusiness Suite application
Hello
I created the project Hello World in the Oracle Applications Framework (11.5.10 RUP5) Developer Guide.
How to deploy the "application" of the e-Business Suite test environment? The Devguide shows how to perform a large number of additional measures, such as the deployment of the business object and so forth (the helloworld application is none of those)...
What steps are necessary to deploy the Hello World application, to make it work in e-Business Suite (Chapter 1 Page 26)?
Thanks for the tips!Your script does not mention the root directory. Run this:
/MyTest/Oracle/dbcomn/Java/Oracle/Apps/AK/Hello/WebUI/AndrasPG.XML - rootdir/mytest/oracle to Java oracle.jrad.tools.xml.importer.XMLImporter/dbcomn/java/apps - username username-password xxxxxx - dbconnection "(description = (addr
"(ess_list = (address = (community = tcp.world) (protocol = tcp) (host = 10.1.0.x)(port = 15xx))) (connect_data = (sid = x))).Hope that you enter the correct host, port, and SID number.
Concerning
Sumit -
Errors that occur in the Hello World page
I made a Hello World page in OFA
When I race it
I am getting following error
Details of the exception.
oracle.apps.fnd.framework.OAException: Application: ICX, name of the Message: the responsibility specified could not be found.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId (unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession (unknown Source)
at runregion. jspService(_runregion.java:132)
at com.orionserver.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.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)
to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)
to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Please someone help me.You have access to 11i or R12 Instances? If so proceed as follows: -.
User: operations
Password: welcome
Application: IN.
Responsibility: PURCHASING_OPERATIONSAlso select the CBD of the 11i or Instance of R12 file.
After completing the steps above, run the page. It should not completed with error.
-
"Hello World" example I tried, but PS CS5 wouldn't it
I'm not new to programming (C, C++, etc.), but am pretty new to javascript. Successfully, I wrote a script to turn visubility a layer, which has been successfful and then tried the example "Hello World" 'Adobe Photoshop Scripting Guide '. Related to "Adobe Photoshop CS5 (64 bit) (12.064)" and he ran. The code is entered immediately in Debug mode at the line "var = app docRef. Documents.Add (2, 4); "[which is supposed to create a new document], saying: the error is"undefined is not an object. "Could not find anything wrong with my code. Does anyone else have this problem?
It should be NewDocumentMode.RGB
It might be useful if you've watched the javascript guide that comes with Photoshop.
-
New to Java development. Get an error with the Hello World program. Help, please
Hello everyone. I just started with Java and I would begin to develop applications for Blackberry. I'm trying the HelloWorld application, I found in the book of Apress beginning Blackberry development. Yesterday, I installed:
(1) jdk-1_5_0_22-windows-i586 - p.exe (32 bit)
(2) BlackBerry_JDE_5.0.0.exe
I have everything installed in the default location, what he said and this is the error I get when I try to launch my app:
Building HelloWorld
C:\Program Files (x 86) \Research In Motion\BlackBerry JDE quiet 5.0.0\bin\rapc.exe-codename = HelloWorld HelloWorld.rapc warnkey = 0 x 52424200; 0 x 52525400; ' 0 x 52435200 import ="... \Program files (x 86) \Research in Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldApp.java C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldMainScreen.java
I/o Error: CreateProcess: javac - 1.3 source-target 1.3 - g - O-d C:\Users\ADAMSK~1\AppData\Local\Temp\rapc_3d5cd53a.dir - bootclasspath "... \Program files (x 86) \Research in Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar"-classpath "...» "Error in \Program files (x 86) \Research In Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldApp.java C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldMainScreen.java = 2
Error while building projectI don't know why. Can someone help me please? I'm running Windows 7 Ultimate x 64.
Thank you
No, you set your ACCESS Windows path variable to include the location where the java compiler is installed, usually the directory "/ bin" where you installed java.
Mine is located here:
C:\Program Files\Java\jdk1.6.0_05\bin
Update the path:
Control Panel
System
Advanced tab
Click the "Environment Variables" button
Under "System Variables", look for the path and to update.
-
of Server internal error 500 everything by opening the page of the Hello World
Hello
I learn OAF and I run the "HomePG.xml", but I get a page saying "Page cannot be displayed" with 500 internal server error.
Can someone help me please?Please check metalink Note:
JDeveloper Page errors with 'Cannot find the class Java\Lang\StackOverflowError' [370759.1 ID]
-
Theme works does not in Hello World app?
Hello
I was reading through the slides and I was wondering why the Hello World application has such a ugly black background, despite I have configured the white theme.
I don't really see the difference with the RSSReader sample, and then I could be watching something. Thank you
Hey zezke,
to change the background of your application, you have three options to choose from. Theme stuff that you read everything is what about the buttons and the components of the application. To change the background of your application however follow one of these three steps (starting a thread to discuss this issue to front):
Metadata:
package{ import flash.display.Sprite; [SWF(width="1024", height="600", backgroundColor="#CCCCCC", frameRate="30")] public class MyApplication extends Sprite public function MyApplication() { (...) } }}
The background is in the same format as the color of the HTML. The second way is by creating a shape object that is larger than the screen and adding that the first child in your program as follows:
package{ import flash.display.Shape; import flash.display.Sprite; [SWF(width="1024", height="600", backgroundColor="#CCCCCC", frameRate="30")] public class MyApplication extends Sprite { public function MyApplication() { var appBackgroundColor:Shape = new Shape(); appBackgroundColor.graphics.beginFill(0xFF0000); appBackgroundColor.graphics.drawRect(0,0,1024,600); appBackgroundColor.graphics.endFill(); addChild(appBackgroundColor); (...) } }}
To add an image is as the second step only by using the Image class as follows:
package{ import flash.display.Shape; import flash.display.Sprite; import flash.filesystem.File; import qnx.ui.display.Image; [SWF(width="1024", height="600", backgroundColor="#CCCCCC", frameRate="30")] public class MyApplication extends Sprite { public function MyApplication() { var appBackgroundImage:Image = new Image(); appBackgroundImage.setImage(File.applicationDirectory.resolvePath('path/to/image.png').url); appBackgroundImage.setSize(1024,600); appBackgroundImage.setPosition(0,0); addChild(appBackgroundImage); (...) } }}
Here is the link to the older thread:
hope that helps. Good luck!
-
No idea why the Hello World application tutorial will not work in the windows command prompt. Application could build and run successfully in NetBeans IDE. I get the error message below copied when you type 'java HelloWorldApp. I made sure that I was in the same directory as the original java and the class file. Also follows the suggested solutions for error message "Exception in thread"main"java.lang.NoClassDefFoundError: HelloWorldApp", I tried to set a specific path and the path of class through environment variables, but nothing has changed.
Current settings (such as mentioned in NetBeans):
Product version: NetBeans IDE 7.1.1 (Build 201203012225)
Java: 1.7.0_03; Server 64 bit Java hotspot VM 22.1 - b02
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Any ideas what could be the problem? Thank you.
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp (false
name: helloworldapp/HelloWorldApp)
at java.lang.ClassLoader.defineClass1 (Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
in java.net.URLClassLoader.access$ 100 (URLClassLoader.java:71)
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:361)
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:476)I see an exception message: ' fake name: helloworldapp/HelloWorldApp.
HelloWorldApp.class is located in a directory named "helloworldapp? If to check if it is a package in the java file. Packages must be compiled/executed outside the directory, including the directory name.
-
Hi friends,
I create the Hello World page in ADF (11g). While run the page through a following error message.
Create page simple Hello, why this error occurs.*** Using port 7101 *** "C:\Users\Rama Krishna\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd" [waiting for the server to complete its initialization...] . . JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m . WLS Start Mode=Development . CLASSPATH=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;%classpath%;.\ . PATH=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Oracle\MIDDLE~1\JDK160~1\bin;E:\oracle\product\10.2.0\db_1\bin;C:\orant\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Oracle\Middleware\jdk160_18\bin\javac;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8 . *************************************************** * To start WebLogic Server, use a username and * * password assigned to an admin-level user. For * * server administration, use the WebLogic Server * * console at http:\\hostname:port\console * *************************************************** starting weblogic with Java version: java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode) Starting WLS with line: D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds Xms512m -Xmx512m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server java.lang.NoClassDefFoundError: Xms512m Caused by: java.lang.ClassNotFoundException: Xms512m at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: Xms512m. Program will exit. Exception in thread "main" Process exited.
could u please solve my problem any body.
Thank you and best regards
Jocelyne.You have a configuration problem in one of the configuration files of jdev (jdev.boot or jdev.conf) or in your options for running your project.
To check the project, open the project properties and select the Run/Debug/section "Profile", change the 'default' (or any other entry that you see) entry and look for the "Java Options".
>
... Xms512m...
>
There is a '-' missing, so java assumes that you want to start this class.Timo
-
I have problems with the Hello World in JDeveloper RUP7 of installation program.
And I've searched these forums, but no thread describe this specific question.
-----
When I run the Hello World, the first page looks in good condition, with all links showing.
However, when I click on one of the links in the page, then I get an error
and the page dumps me to our main Login Applications screen.
The error that I get (after clicking on a link) is:
Unexpected URL parameters were detected and will be ignored
And the link I click on Hello World is:
http://scottma09.Corpusa.napole.local:8988/OA_HTML/OA.jsp?
OAFunc = FWK_TOOLBOX_HELLO &
OAPB = FWK_TOOLBOX_BRAND &
OAHP = FWK_TOOLBOX_TUTORIAL_APP &
OASF = FWK_TOOLBOX_HELLO &
TransactionId = 1255486469 & SV = kIYCU8z8RLu95eOyqIqWaw...
All the tips are greatly appreciated.Hello
go to tools > Preferences > embeded oc4j > select default ip, it can solve your problem.
Kind regards
Out Sharma -
Tutorial of WebWorks Hello World, Webworks SDK tool hangs in the browser
Being very new BlackBerry WebWorks and Cordova, I would please help get implemented with WebWorks Hello World tutorial.
Platform: Windows 7 ultimate x 64 chrome 31.0.1650.63 firefox version m 26, Blackberry Web Works SDK Version 2.0BETA & Blackberry Web Works SDK 1.0.4.11, MomenticsIDE, 3.3.1 - 0.1.2 of cordova, VMWare Player version 5.0.3 build-1410761 using BlackBerry10Simulator.vmdk
Background:
I followed the tutorial began getting ( https://developer.blackberry.com/html5/documentation/beta/getting_started.html ) and I checked several times to make sure I did it correctly.
Also, I tried to follow along with the Blackberry guides provided by cordova ( http://cordova.apache.org/docs/en/3.3.0/guide_platforms_blackberry10_index.md.html#BlackBerry%2010%2... ).
I tested this problem using Blackberry 10.2.0 Simulator both 10.2.1 in VMWare Player.
Unfortunately, when I followed the tutorial, sure I get to the point in the project when I press save, then chrome & firefox (I tried both) they cling. For more details and photos, you can see my post to http://stackoverflow.com/q/20907450/2115934 and this http://pastebin.com/BjCxHDfB .
Finally, I don't know if this is related, but when I try to run
webworks target add
[ -t device | simulator] [-p ] [--pin ] As described in the section for the definition of objectives, I get this error:
'webworks' is not recognized as an internal or external command
operable program or batch file.This makes me wonder if I was not properly installed webworks, or if I had to set the system path variable.
My system path Variables
C:\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\Java\jdk1.7.0_45\bin\;C:\Program Files\nodejs\;C:\Windows\Microsoft.NET\Framework\v4.0.30319;Z:\adroidsdk\platform-tools;Z:\adroidsdk\tools;ANT_HOME=Z:\ant\apache-ant-1.9.3;JAVA_HOME=C:\Program Files\Java\jdk1.7.0_45;Z:\ant\apache-ant-1.9.3\bin;Z:\bbndk\host_10_2_0_15\win32\x86\usr\bin;Z:\BB10WebWorksSDK\cordova-blackberry\bin\dependencies\bb-tools\bin;Z:\MomenticsIDE_BBNativeSDK\host_10_2_0_15\win32\x86\usr\bin
I would be very grateful for advice on how to proceed.
This is the output of the variable path on the command line? It is strange to see the ANT_HOME and other variables put there - I'm not sure that should be there, but it would not be the problem here either.
What I see missing is a reference to the new SDK WebWorks. When you ran the Setup program, it must have created a new user named WEBWORKS_HOME Environment Variable that must be set to the location where it was installed. Then, he should have added % WEBWORKS_HOME %; your variable to the path of the user. It doesn't look like that's happened. Maybe you can try to install again and it must put these variables. You can try to add yourself as well but a relocation should include everything that is missing.
This lack of access path variables are why the webworks command does nothing, and because the GUI calls simply orders webworks, thats why that is also a failure.
It is possible that there is a problem with the Setup program if it does not have the permissions required to create these variables.
-
Adobe Reader - added toolbar: example hello world
Hello world
I would create a "toolbar button" Adobe Reader that supports all version of it.
After a long search for this on the web found an article suggesting that this can be done with one of the 2 methods.
1 acrobat Javascript.
2 acrobat Plugins.
1 acrobat Javascript:
I managed to create a "toolbar button" in Adobe Reader with script placed in "C:\Program Adobe 10.0\Reader\Javascripts" below
Script:
function helloWorld()
{
App.Alert ("Hello World");
}
app.addToolButton({)
cName: "helloWorldBtn", / / name of your button
cExec: "helloWorld()", call //Function
cLabel: "Hello World", //The text on the button
cTooltext: "Say Hello World", //The text to help
cEnable: true
});
Problem with Javascript:
The only problem facing the implementation of my Javascript script is "I couldn't call a method ActiveX or a DLL of this Javascript.
I tried to create new ActiveXObject in code, but it thorws runtime error saying that it ActiveXObject is an unrecognized keyword. (The same "new ActiveXObject" works very well in normal Javascrirpt.
2 acrobat Plugins.
I couldn't find a good sample of "Helloworld" for the creation of a toolbar of the sample on the internet. I think, Plugins, that it would be easier to call the method other DLL by adding a reference or on COM.
Could someone help me is done with a more simple to make with this best sample. Please don't recommend the SDK samples, I don't really understand anything out of it.
If we can create the toolbar with c# or VB, it would be better for me.
Hope you got my problem. Thanks in advance.
Please come back to me if one of my guesses to are wrong.
Yes, these are the two ways to create a button in toolbar - JavaScript or Plugin.
You are also right that you can't do anything with ActiveX or DLL from Acrobat JavaScript - which is the same engine of JavaScript in Mozilla/FireFox. However, add many browsers to additional custom objects (for example, ActiveX), which may be what you think of...
Plugins are written in C/C++, and they are documented in the Acrobat SDK kit. You will need to download what to build. It includes documentation, sample code, etc. HOWEVER, be aware that, in order to develop a plugin for the reader, you must obtain a license from Adobe. There is a cost and process for this license, and details are provided in the SDK.
-
A simple Hello World application but impossible to the EAR file create
Hello guys,.
I am new to ATG platform,
I just want to print hello World in ATG in browser to test. I have create this module structure
Hello world-leading of the project (creation in eclipse by clicking New-> dynamic project)
When the project is created. I've added four records.
1 build
2 Config
3.J2EE - apps-> HelloWorld.war-> WEB - INF-> TLDs and lib (also a file web.xml that contain the path to the tld libraries link. I pasted respective jar and tld to respective folder)
4.META - INF-> MANIFESTO. MF
part I created two jsp page Hi.jsp and hello.jsp which lie in the sources folder in my dynamic project in which I just wrote Hello everyone within the Organization
I have also included external ATG pots (BuildPath).
It's my MANIFESTO. MF file
Manifest-Version: 1.0
ATG-Date:
ATG-EAR-Module: j2ee-apps/HelloWorld.ear
ATG-time:
ATG-Version: 10.1
ATG-Config-Path: config /.
ATG-Build: 528
ATG-J2EE: j2ee-apps/HelloWorld.ear
ATG-Full Version: 10.1
ATG-required: DSS DAF
My workspace is C:\ATG WORK\HelloWorld
When I want to create EAR file in cmd prompt
CD C:\ATG\ATG10.1\home\bin
runassembler HelloWorld.ear m HelloWorld DSS DafEar DafEar.Admin
I get this error
The Assembly began.
The target application is C:\ATG\ATG10.1\home\bin\HelloWorld.ear.
Error (s): error: there is no ATG platform or application package installed that contains an AppModule which corresponds to HelloWorld
Cause: error: there is no ATG platform or application package installed that contains an AppModule which corresponds to HelloWorld
TAKEN AT:CONTAINER:atg.appassembly.ApplicationAssemblerException: Error: there is no ATG platform or application package installed that contains an AppModule which my
TCHES HelloWorld; Source: ATG.applauncher.AppLauncherException: Error: there is no ATG platform or application package installed that contains an AppModule which corresponds to
HelloWorld
at atg.appassembly.EarInfoFactory.createEarInfo(EarInfoFactory.java:119)
at atg.appassembly.Main.main(Main.java:447)
SOURCE EXCEPTION: atg.applauncher.AppLauncherException: Error: there is no ATG platform or application package installed that contains an AppModule which corresponds to HelloWorld
at atg.applauncher.versioner.Versionator.createInitialRequirements(Versionator.java:299)
to atg.applauncher.versioner.Versionator. < init > (Versionator.java:109)
at atg.applauncher.MultiInstallLocalAppModuleManager.expandSearchPath(MultiInstallLocalAppModuleManager.java:176)
to atg.applauncher.MultiInstallLocalAppModuleManager. < init > (MultiInstallLocalAppModuleManager.java:132)
at atg.appassembly.EarInfoFactory.createEarInfo(EarInfoFactory.java:114)
at atg.appassembly.Main.main(Main.java:447)
Cleaning.
Please can the guy to correct my error. I would be very grateful to you.
Published by: 958333 on September 11, 2012 03:55
Published by: 958333 on September 11, 2012 03:55
Published by: 958333 on September 11, 2012 03:56Hi, can you tell what data source do you want to set up?
and no need to create directly from java project as mentioned above, you can create atg module as: file-> new-> project-> java-> atg assistants-> select new Module ATG and go to the next-> set as MyProject project name and select root diretory as C:\ATG\ATG10.1, and then click next-> select applications needed by senario engine Adaptive by default atg is selected , so there's no need to add more and click to-> here you will find modules by default, DAS, DPS, DSS, so no need to add more and go to the next--> you can change the default ' output folder ' as ' MyProject/classes' that shows ' MyProject/bin' that will store our files * .class, then click-> set Name = MyProject-j2ee application J2EE , the Web application name = MyProject-web, Context-root = MyProject, then select target Applicaton Server = JBoss(for Example;you can choose any->click to finish.->)
Now start your engine server Adaptive senario atg-> commond open prompt and start the dynamo Server (for example, I am considering server like jboss)
C:\Training\ATG\ATG9.1\home\bin\startDynamoOnJBOSS f MyProject-> open new browser and go (for example, http://localhost:9090/MyProject)
If you are able to see the page index.jsp on browser then you did.
-RMishraEdited by: RMishra on Sep 13, 2012 17:03
-
looking for an example of hello world
I am a brand new ColdFusion.
I have a very simple example code Hello global and connecting to the back-end database.
Your help and the information is much appreciated,
Kind regards
iccsi
Hello world
Once you have created a data source that connects to your database in CF ACP countries, you can run and make reference to a query as such:
SELECT * FROM TABLENAME WHERE COLUMN = VALUE
This will show you a dump of the query
This tells you how many records were returned: #example.recordCount #.
It's how refer you to a returned field: #example.name_of_field #.
Maybe you are looking for
-
How to remove the 'active' by typing everything out a textfield (QuickFind)?
Whenever I type anything out of a text field, the function of Quickfindtm comes out. I don't want him.Thanks in advance.
-
iCloud on iPad - change the Apple ID when Apple no longer recognizes old id
The Tiscali email address no longer works on iPad ({Apple is no longer recognizes it as an Apple ID} unable to delete this iCloud account and set up a new one with my new email address.) Any suggestions?
-
How to add and remove songs to a 2nd ipod in iTunes
I have a 2nd ipod connected to my iTunes account however I'm having trouble to add and remove songs on this 2nd ipod. FAQ says simply drag a song from the list of music on the playlist to add and song highlight and press Delete to delete however by d
-
How to draw the average sensor values against an array of constant (long positions)?
I have 7 microphones where I take the RMS value. They are physically located in a line, and I would like to draw their values against their positions. How can I think. I guess I'll need to use the XY plot, but I don't know how to turn the 7 signal
-
I have high speed internet, but now it, s verry slow and sometimes d, get it
Hi I have a problem when i, m internet and I want to change the window or go to something else it take some time to change or w, go to another window, and when I type something upward This could take a few seconds before it turns out the letters, can