Build and deploy iPhone application from terminal
Hi,
I'm new to the Mac world and was trying to build an application from the terminal without success although the documentation mentions its possible (but doesn't provide any documentation on the tools or any other details).
So, anyone can give me a simple example of how to build an application from the terminal and deploy it to the simulator and/or sign and deploy to an iphone?
Thanks
Hello lancea,
sorry for not specifying my Qs clearly.
But now I got clear idea about asant command.
Actualy my problem is How to package an ear for obove mentiioned files, which all are in package.
When I tried to build .ear for particular session bean and accessed from remote client
I am getting following exeption. It seems application is not able to refer classes in package.
C:\j2ee\orcaclient>java -classpath ".;c:/sun/appserver\lib\orcaClient.jar;C:\j2
ee\orcaclient\jp\or\med\orca\sdk\server\base\manager\orcaAppClient.jar;c:/sun/ap
pserver\lib\j2ee.jar;c:/sun/appserver\lib\appserv-rt.jar" -Dorg.omg.CORBA.ORBIni
tialHost=JAVADEV01 -Dorg.omg.CORBA.ORBInitialPort=3700 jp.or.med.orca.sdk.server
.base.manager.Client
Exception in thread "main" java.lang.NoClassDefFoundError: jp/or/med/orca/dbs/DB
SIllegalStatusException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.corba.ee.impl.util.Utility.loadStub(Utility.java:912)
at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
emoteObject.java:285)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at jp.or.med.orca.sdk.server.base.manager._DBSAccessorSessionHome_Stub.c
reate(Unknown Source)
at jp.or.med.orca.sdk.server.base.manager.Client.main(Unknown Source)
I hope you got my problem.
Thanks in advance.
Regards,
Prashant-
Similar Messages
-
How to Build and Deploy Flex application in EP6
Hi All,
Can anyone tell how to build and deploy Flex application in EP6.
I want to build a normal application in flex and present it through iviews. How do I configure my Iiview to have flex component running in Portal Environment.
Thanks
DeepakA good book to start with is Enterprise JavaBeans by Monson-Haefel (O'Reilly press). It covers deployment of EJBs on J2EE servers. Also check out sites specific to your server, sometimes they have specific requirements (like Weblogic).
-
Building and Deploying Java applications in different platform (OS)
Hi all,
We currently have a J2EE based web services application that is built (compiled) and deployed on Windows 2000 Advanced server. But in future, we will be using WIndows 2000 server for development only and HP-UX for production.
So, we are planning on executing the build (compilation) of our application on Windows 2000 server and deploy the same binaries (WAR) on HP-UX also. So, I wanted to know anyone has faced issues in the past by deploying an application on a different platform than the one on which it was compiled. Is it recommended by SUN to compile and build Java applications on the same platform on which the application is deployed.
Note that in my case, the JVM versions between Windows server and HP-UX would be the same. But the JVM for Windows server has been provided by Sun and the JVM for HP-UX has been provided by HP-UX.
Your inputs are greatly appreciated.Well, it's all Java, right? So what's the problem? Since the JVM for HP-UX isn't made by Sun, so there could be compatibility problems, but I would expect that would be minimal if a problem at all. But you can't know unless you run it.
I don't know about building on the different systems. Java's supposed to be write once, run anywhere.... The byte code should be compatible no matter what. I've never heard of Sun saying "compile it on each platform". If the HP JVM isn't going to like bytecode compiled on Windows or another OS, then something isn't kosher with someone's JVM or compiler. -
i have a littel problem i buy some iphone application from some shop around my area and i try to install in my iphone with laptop but i cant its seys autherize this computer and i autherized my computer a lot of time but i cant steel install any aplication into my iphone so guys please help me.thank u
Well, it seems waiting is not my strong suit..! I renamed a javascript file called recovery to sessionstore. This file was in the folder sessionstore-backups I had copied from mozilla 3 days ago, when my tabs were still in place. I replaced the sessionstore in mozilla's default folder with the renamed file and then started mozilla. And the tabs reappeared as they were 3 days ago!
So there goes the tab problem. But again when I started mozilla the window saying "a script has stopped responding" appeared, this time the script being: chrome//browser/contenttabbrowser.xml2542
If someone knows how to fix this and make firefox launch normally, please reply! Thank you -
Building and Deploying Within a Directory ?
Hi Guys,
Iv just been going through the "Oracle9iAS Containers for J2EE Users Guide, Release 2 (9.0.2)" pdf and have juts gone through the Building and Deploying within a directory.
This is something, as a developer I would love or even demand to be able to do as createing war , jar and ear files each time I make a change is a total time nightmare...
Unfortunately I was'nt able to get the above working with a very simple app.
Before trying the app I made sure I could deploy it normally as a an ear file which worked.
Below follows a description of the dir structure plus info added to relavent .xml files ( gods theres so many )..
j2ee/home/applications/BalanceManager
WebModule/
WEB-INF/
lib/
classes/
web.xml
AccountHolders.jsp
META-INF
EJBModule/
META-INF/
application.xml
application.xml ( not the one in config dir but the one in the above dir struct, ear application.xml) :-
<application>
<display-name>BM</display-name>
<module>
<ejb>EJBModule</ejb>
</module>
<module>
<web>
<web-uri>WebModule</web-uri>
<context-root>BM</context-root>
</web>
</module>
</application>
server.xml ( in j2ee/home/config )
<application name="BM" path="../applications/BalanceManager" auto-start="true" />
http-web-site.xml:-
<web-app application="BM" name="BalanceManager/WebModule" root="/BM" />
The above files have been edited as of the document above, which can also be found at http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95880.pdf.
When I start up OC4J the application gets deployed ( dos prompt ):-
C:\devenv\oc4j\j2ee\home>java -jar oc4j.jar
Auto-deploying BM (New server version detected)...
Copying default deployment descriptor from archive at C:
pplications\BalanceManager\BaEJBModule/META-INF/orion-ej
directory C:\devenv\oc4j\j2ee\home\application-deploymen
Auto-deploying BaEJBModule (No previous deployment found
Auto-deploying file:/C:/devenv/oc4j/j2ee/home/applicatio
odule/ (New server version detected)...
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
and also a BM dir is created in the application-deployements dir.
So everything looks great, but when I navigate to -
http://localhost:8686/BM/AccountHolders.jsp
I get http 500 error page cannot be displayed.
So it looks like the context root BM did'nt get added to the servers web context,
but why??
Obviously AccountHolders.jsp is the jsp in the WebModule dir.
Iv been tweaking this and that and obviously tweaking never seems to work so if any ones got any ideas or suggestions on how to setup and deploy within dirs instead of ears please reply to me asap.
Look forward to your answers,
Stephen.Stephen,
The entry in the http-web-site.xml should be:
<web-app application="BM" name="WebModule" root="/BM" />
This should be the name of the web-module in the application (EAR).
regards
Debu Panda
oracle -
Is your organization building and deploying J2EE apps? If so, Halo
can help solve one of the toughest issues facing enterprises today:
Finding the root cause of software faults.
"Halo monitors, pinpoints, reports on and provides a source-code level
root cause of software faults in deployed J2EE apps. Halo is unique
because it's the only technology that can give you a root cause
diagnosis in a fully deployed, live production application. Halo has
such low performance overhead that customers deploy their final,
production versions of their applications with Halo enabled.
Used with Web Application Servers like WebLogic, Halo helps ensure
that deployed code is reliable and able to be quickly fixed if
problems turn up. Most important, because Halo is an "always on"
technology, you get all the information you need to rapidly solve a
problem on the first fault. Problem replication and bug reports are
obsolete with Halo
"Halo has a unique ability to provide a root cause diagonosis and
understanding
of software problems in production systems, without needing to
replicate the
issue.
Test on WebLogic proved that Halo runs with extremely low overhead and
is suitable for use in deployed production systems"
Andrew Sliwkowski, Software Engineer
BEA Systems, Inc.
The key is Halo's high performance, low overhead TraceBack
instrumentation technology. Based on technology out of MIT and proven
in the field, TraceBack enables you to instrument JARs, EARs and WARs
within minutes, without touching source code.
Halo is useful throughout the entire application life cycle, from
development through test, beta and deployment.
If you have interest in learning more visit our website at
www.incer.com or email me directly at [email protected] (Rick Martin)I have two questions. We have just started developing apps using jdev9i, 9iAS v2 and are new to the j2ee environment so my questions may be very easy ones.
Question 1: We have set up Oracle pooling connection to our databases. We have a development, test and production database. When I deploy my application, it includes the connections. This is preventing me from moving the EAR files from dev to test to prod without modification and re deploying to my EAR file. Is there a way or a place that I can put my database connections that will not be included in my EAR files and the application still find them?datasources.xml is where the info regradings connection to databases is licated. If you're using 9iAS
you can use EM to create datasource entry at the global level. In OC4J standalone you could use admin.jar
or edit the file. Check out the standalone user's guide at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf.
Also, you will othe OC4J docs on OTN.
Question 2: I have a stand alone oc4j set up for our developers to use while testing their applications. The applications include libraries supplied in jdev such as xml parser v2. I do not want to deploy those lib files with the app because I will have to redeploy all my apps if I upgrade jdev. I just want to be able to upgrade the libraries, test the apps and not have to redeploy everything. I can do this by coping the jdev lib to 9iAS but I can't seem to find the right place to put the lib for the stand alone oc4j instance. You can use the library tag within application.xml for server wide availability. Check out the article
http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j_2.html specifically class loading in OC4J section
Any help would be greatly appreciated. Thanks in advance. -
Using ant to build and deploy plsql packages to a 11g wls.
Hi all,
Not sure is this is the right place, but I found a few other threads in this forum regarding plsql and ant, so I'll try this one.
My firm is moving from 10g ADF applcations to 11g SOA applications. When I'm not busy being lost in the whole new SOA world, I also have the pleasure of building our ant scripts. :-)
It has been years since I looked at the deploy scripts I made for 10g, so I'm a bit rusty.
I used wsassemble in our old scripts and I used http://download.oracle.com/docs/cd/B25221_05/web.1013/b14434/wsassemble.htm as a reference. But I can't seem to find the same documentation for 11g? I tried http://download.oracle.com/docs/cd/E12839_01/index.htm but it doesn't seem to have anything about plsqlAssemble, genInterface, genproxy etc. for 11g wls servers? I also tried google a while to no avail.
For example, I'm having problems setting the values for the ant-oracle.properties.
So can someone please throw some links my way, so I can read how to build and deploy plsql packages to a 11g wls server using ant? Thanks!
Cheers,
WilliamHi,
Did you ever find an answer to this question ?
I am currently creating the webservice using webservices assembler from 10g/OC4j, then using the SmartUpgrade tool to re-engineer the webservice for deployment to 11g
( SmartUpgrade info here http://docs.oracle.com/cd/E16764_01/doc.1111/e15878/intro.htm)
G
Edited by: user999097 on Mar 5, 2012 1:16 PM -
Building and Deploying Within a Directory with oc4j 10.1.3
hi,
I just want to move our application from 10.1.2.0.2 to 10.1.3 in our development environment. I want to deploy our application within a directory, but this does not work anymore! I couldn't get information about this in the documentations. When I start the server I get these errors:
Oct 19, 2006 11:59:22 AM com.evermind.server.Application setConfig
WARNING: Application: tisProd is in failed state as initialization failedjava.lang.InstantiationException: Error loading web-app 'default-app' at D:\JRun4\servers\Jrun00\default-app: Error parsing orion-web.xml in D:\oc4j1013\j2ee\home\application-deployments\tisProd\default-app: The file was a directory
2006-10-19 11:59:22.759 WARNING J2EE 0JR0013 Exception initializing deployed application: tisProd. Error loading web-app 'default-app' at D:\JRun4\servers\Jrun00\default-app: Error parsing orion-web.xml in D:\oc4j1013\j2ee\home\application-deployments\tisProd\default-app: The file was a directory
2006-10-19 11:59:24.712 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: default-app defined in web site OC4J 10g (10.1.3) Default Web Site. Application: default-app has been stopped
Any ideas?
regards AlexHi, I'm movint to 10.1.3 too and I've a similar problem. Who is the parser that cause problem ?.
When I 'deploy' my application from Eclipse I receive:
2006-11-06 14:56:11.424 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: tgs-app-web defined in web site OC4J 10g (10.1.3) Default Web Site. null -
"Need Weblogic Integartion" + "Build and Deployment Samples"
Hi All,
If all I m very new to Weblogic Integration. If any one of you have the experience
of building and deploying weblogic integration application please throw some light
on this and please tell me the best approach of build and deploy weblogoc integration
application. Please help me
If you have any sample integration application please send it to me
Awaiting for your reply
Thanks
SelvaHere's an example that's specific to AIR:
http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7f73. html -
Cross Farm Continuous build and deployment practice
Hi All,
What is the best practice to move the wsp deployments and content deployment from dev server to test server
and then test server to production?
powershell commands is one of the solution , but for continuous build and deployment is their any better practice?
Is there any tool which keeps track of the deployments (similar to cruise control for build)
Thanks and Regards,
Swati
SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.comI think this is one of the way of doing this
http://www.sharepointnutsandbolts.com/2011/06/sp2010-continuous-integrationpt-1.html
SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com -
Build and Deployment Automation
Hi,
What are the best ways to Automate the build and deployment process to reduce time and increase accuracy. are there any recommendations to make the Build & Deployment process effective?
Thanks & RegardsHi,
For the builds you can use TFS builds (if you are using VSO hosted build services), and use VS 2013 Release Management to create release pipelines through different stages (For VSO use release management services).
You can get details from below links
https://curah.microsoft.com/42805/getting-started-with-release-management
https://msdn.microsoft.com/en-us/library/dn449957.aspx
http://www.visualstudio.com/en-us/explore/release-management-vs.aspx
https://msdn.microsoft.com/en-us/library/dd793166.aspx
http://nakedalm.com/configuring-jenkins-talk-tfs-2013/
http://blogs.msdn.com/b/visualstudioalm/archive/2012/10/19/building-ios-apps-in-tfs.aspx
I just provided general information. If you have more questions when implementing, ask here and we will support you.
Cheers!
Chaminda -
How can I enable java applet plug-in and Web Start applications via terminal?
Since the last Java update to Snow Leopard, I have found that the system periodically disables the Java applet plug-in after a period of disuse. I know I can go to /Applications/Utilities/Java Preferences and just click to re-enable Java. But I want to write a script which will do this periodically for a couple hundred Mac users where I work.
My question is - how can I reenable the Java applet plug-in and web start applications via Terminal command? Is this possible? Is there a plist file that can be modified, etc.?
Bob ReedIt is my understanding that Apple's most recent Java update automatically disables Java after a certain period of time that it hasn't been used. We don't want users to have to keep re-enabling it. So we wanted to find a way to do this via script either run by a Casper JSS server or stored locally on each workstation. With the guidance provided by Mark Jalbert above and some text from a script written by Rich Trouton, I was able to make a script (with some minor changes) and a launch agent to re-run the script upon login. So the preference is always enabled.
For your reference, the script content is:
#!/bin/sh
# DYNAMICALLY SET THE UUID FOR THE BYHOST FILE NAMING
if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` == "00000000-0000-1000-8000-" ]]; then
MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c51-62 | awk {'print tolower()'}`
elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
fi
# Set the the "Enable applet plug-in and Web Start Applications" setting in the Java Preferences for the current user.
/usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsEnabled" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
/usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsEnabled bool true" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
/usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsLastUsed" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
/usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsLastUsed real $(( $(date "+%s") - 978307200 ))" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
The launch agent plist content is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>org.XXXXX.enableJavaPlugin</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>/Library/Scripts/XXXXX/enableJava_plugin.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartOnMount</key>
<true/>
</dict>
</plist>
I hope this is helpful to anyone wishing to keep the Java web plugin enabled.
Bob
Message was edited by: Robert Reed2 -
How to deploy WebDynpro application from Portal
Hi Friends,
when we develop WebDynpro applications, we deploy and run the applications from IDE NWDS studio..
Is there any way to deploy it from portal?Hi,
Wat do you mean by deploying it from the portal?
It is possible to integrate webdynpro apps in Portal
Follow this link
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/2fffe990-0201-0010-aab0-e61c3250bcf3
Regards,
Santhosh -
Is WAS 6.2 needed to develop and deploy BSP applications
I'm currently on SAP v4.71. I'm trying to find out if WAS 6.2 is needed to develop and deploy BSP applications or is BSP available straight from the 4.71 box.
Any input is greatly appreciated.
ThanksHello sap gurus, I am new to ABAP. I alredy have SAP NetWeaver Enterprise Portal on MaxDB - Developer Edition Sneak Preview installed on my server. However I want to use the ABAP Development Workbench. I do now want to buy a book with cds or go to the sap shop site to get minisap.
Is there any way to Use ABAP Development Workbench with Web Application Server 6.4 or 6.1?
If yes where to get the WAS 6.1?
Thanks -
How to move the code and deploy the code from Dev environment to SIT.
Hi,
I have a requirement.
I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
Before doing this is any pre-requisites required?
Can you please help on this,how to do?
Thanks in advance.Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
Steps:
First log on to the EM Console and export the Composite Flow as a SAR file to a location.
In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
import the project using the option import the composite using a SAR File.
After import , then click on the composite and then generate the config plan.
In config plan add all the url changes using the search and replace Tags.
And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
Take the SAR file adn config plan seperately from JDeveloper.
Now open em console again and then deploy it using the config file and SAR file.
Thanks,
Venugopal SSS RAJA
Maybe you are looking for
-
To configure Sales tax for USA
There is a State wise tax rates. This total tax rate consists of : State tax, City tax, country tax, special purpose district tax. Below is some sample . I need to configure only Total Tax rate. Pl. let me know, what needs to be done in SAP. Pl. le
-
How do you save your existing I Tunes folder when upgrading your computer. I am using Windows XP and need to upgrade tp Windows 8 or higher?
-
Indesign CS5 crashing on document open
I'm having a problem with a roughly 30 page indesign cs5 document - on opening it crashes within a couple of seconds. In the windows 7 (64bit) error log, it gives me: Faulting application name: InDesign.exe, version: 7.0.0.355, time stamp: 0x4bad00be
-
Notify Operator Task not sending email, Database mail works fine, Added Profile to Agent
SQL Server 2008 R2, Latest Updates. I added a Service Broker that has Alerts and Notifications in it. In adding the service broker I had to go into the Agent Properties, Alert System, enable mail Profile, enabled the failsafe operator, etc. I get
-
Hi Is it possible to have Item Level approval on GRN. My client wants his GR PO to get approved by different person for different person. For e.g. GR PO one contains items Item A - to be approved by Mr. x Item B - to be approved by Mr. y Item C - to