Include Service inside application bundle?
I read a brief note in the Dev docs that you can include Services inside your application bundle to distribute them with your app.
Is this possible with the newer Automator-created Services?
Where should they be stored in the bundle?
When I peek inside bundles of other apps that provide services, such as BBedit, I don't see any Service files.
I've tried this a bit but could not get them to show up in the Services menu after logout.
Thanks,
Joe
Services for the App/Services menu and contextual menu? They're better and more prolific than ever.
Similar Messages
-
Error while testing Service enabled Application module-ADF11g
Hi All,
I am facing an error while testing Service enabled Application module.I have followed the documentation avaialble in this link
http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcextservices.htm#CJABABJE.
All the supporting jar files are included in the calling application, but still I am getting class not found exception.
Error is as follows…
JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=java.lang.RuntimeException: java.lang.ClassNotFoundException: demo.model.common.serviceinterface.AppModuleService: java.lang.RuntimeException: java.lang.ClassNotFoundException: demo.model.common.serviceinterface.AppModuleService
Jdev version is 11.1.1.2.0 and
Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
Any pointers for the same is highly appreciated.
Thanks,
AnushaHi Willian,
Did you set up your "Model" Project to use the JDK 1.4 and rebuild the application ?
See " [Deploying to Application Servers That Support JDK 1.4|http://tinyurl.com/lfc6kc] "
Regards,
Didier. -
Problem using jsp:include from inside a custom tag
Hi, All !
I have a problem using <jsp:include> from inside a custom tag. Exception is:
"java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
could not do this. Is it a bug, since in the 1.1 spec is said: "The
BodyContent is a subclass of JspWriter that can be used to process body
evaluations so they can retrieved later on."
My code is:
<wfmklist:items>
<jsp:include page="item.jsp" flush="true"/>
</wfmklist:items>
This is an area of contention with WL. It is not so tolerant with regards to
the spec. I spent several days recently trying to convince it to accept the
specification in regards to bodies and includes and it appears to have
successfully rebuffed my efforts.
Frankly, this is very disappointing. It appears that some shortcuts were
taken on the way to JSP 1.1 support, and the result is a very hard-coded,
inflexible implementation. As I have not seen the implementation myself, I
hate to assume this, however one could posit that the term "interface" was a
foreign concept during the implementation, other than as some annoying
intermediary reference requiring an immediate cast to a specific Weblogic
class, which in turn is apparently required to be final or have many final
methods, as if being optimized for a JDK 1.02 JIT.
I am sorry that I don't have any positive suggestions other than to use a
URL object to come back in an execute the necessary "include" directly. You
lose all context (other than session) and that can cause its own problems.
However, you can generally get the URL approach to work, and you will
hopefully avoid further frustration.
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
Tangosol: How Weblogic applications are customized
"Denis" <[email protected]> wrote in message
news:[email protected]...
> Hi, All !
> I have a problem using <jsp:include> from inside a custom tag. Exception
is:
> "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
>
> Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
> could not do this. Is it a bug, since in the 1.1 spec is said: "The
> BodyContent is a subclass of JspWriter that can be used to process body
> evaluations so they can retrieved later on."
>
> My code is:
> ...
> <wfmklist:items>
> <jsp:include page="item.jsp" flush="true"/>
> </wfmklist:items>
> ...
-
Very Nube Question About Creating a Very Basic Application Bundle / Package
I don't know anything about XCode or AppleScript, other than that they exist, so I'm coming at this with only conceptual knowledge of how applications on OS-X work. Nonetheless, I have a goal that I feel should be really easy to accomplish, I just don't know where to begin.
What I have is an html file with an embedded flash project that also references some outside files, such as pdfs for printing. This was designed to live on the web, but in reality it will be shipped out on a CD. Right now, if you insert the cd, you see the file contents (the above mentioned HTML file, as well as two folders containing the flash files and the pdfs that are embedded in or linked out from the html file).
This isn't very elegant, and doesn't accomplish the "app" feel I'm shooting for. What I'm wondering is: is there a way to create an application package that has the html file and content folders tucked inside of it, so that when a user clicks on the application package, the html file is automatically launched? What resources might you point me to in order to learn how to do this in a relatively short amount of time? (I'm not even positive if I'm using the correct terminology to search for solutions... is it an application package or an application bundle?)
Now for the limitations:
These files were generated on a Windows machine by an eLearning tool ("Articulate Presenter") and therefore really can't be fiddled with much. I can't open any of the flash files and change the directory paths for the resource files the main presentation needs. I'm fairly confident the presentation just refers to the folder the html file is in as its root, so if the file structure could stay relatively intact once all the files move inside this "bundle," I think everything will still work.
The Articulate Presenter folks aren't particularly helpful in solving Mac compatibility issues, so I thought I'd pose my question here. If I'm not being clear, I am happy to add additional details. Thanks very much for your patience with, and willingness to offer advice to, a complete newbie.
Cheers!It's even easier than you think.
Open AppleScript Editor.
Type in the following code:
set htmlFile to (POSIX path of (path to me)) & "Contents/Resources/index.html"
set openCommand to "open " & quoted form of htmlFile
do shell script openCommand
Then do File > Save, and use 'Application' as the file format.
Then the "Bundle Contents" button on the toolbar will be enabled. Click it to open up the drawer.
Drag your HTML content and resources into the drawer.
Do File > Save again. Ta-da, you have your web-content packaged as an application.
This assumes that the top-level has a file named index.html. If not, modify to suit. -
Activity monitor: no info.plist file in application bundle
hello, i deleted the activity monitor....
now, i can't open the activity monitor in utilities,
it says:
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exitingI would download and run the OS X 10.6.8 Combo update.
I peeked into it with Pacifist, and it contains an update for Mail.app, including replacements for the executable and the info.plist: -
Web-service inside a DataTemplate
Hi.
Is there a way to include the result from a web-service inside a DataTemplate? you can use <dataQuery><sqlStatement> for a SQL Statement, but is there a tag for querying a web-service (calling a specific method)?
*[url http://www.java-forums.org/blogs/advanced-java/collection/]Java collection*Hi Daniel,
As per the latest documentation :
http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T434255.htm#3503342
There is not such XML element to call a webservice method.
Nevertheless you can still do this either:
- Create a store procedure in DB and within this proc call the webservice method, then you can call this procedure/function within your SQL statement in your data template.
- Or create a java servlet and from within this call your webservice and finally in your data template call the URL that invokes the webservice using the URL element.
Just some ideas to get around what you want.
regards
Jorge
p.s. If this answers your question then please grant the points and close the thread -
Hi -
I'm running 10.6.8 on an Intel iMac and haven't used Mail in a long time. I tried to start it today and it won't launch. I opened the Package Contents for the app from the Finder, and double clicked the Mail executable. It launched in a Terminal window and gave the following error message:
Last login: Thu May 24 12:17:01 on ttys000
/Applications/Mail.app/Contents/Mail ; exit;
imac:~ Bill$ /Applications/Mail.app/Contents/Mail ; exit;
2012-05-24 12:37:01.769 Mail[26585:903] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
logout
I looked and there is a file called Info.plist in the folder and it even has the string NSPrincipalClass in it. Beyond that, I am clueless!
Any help much appreciated!
BillI would download and run the OS X 10.6.8 Combo update.
I peeked into it with Pacifist, and it contains an update for Mail.app, including replacements for the executable and the info.plist: -
How To Access HTTPS Web Service in Application Module
I need to know how to access HTTPS web service in application module.
If you can provide the tutorial or guidance to achieve this really appreciate.
Thanks
SameeraUse the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF -
Original OSX 10.5.6 and app dvd's (that came w/MBP) lost,and have recv'd replacement dvd from Apple. Once hard drive is erased and new OS w/dvd instl'd, how do I insure all applications bundle - that came with MBP - will reinstall?
Your profile says you have 10.6, so why bother with the original 10.5 OS?
But to your question, before you erase anything, make a backup of your data for safe keeping and restoration. Having an external hard drive for this purpose is most useful. -
How can i include Services and Bindung in a generated WSDL file?
Hi,
i what to use a generated wsdl file from an erp system, to build a web service client with WSDL2Java (org.apache.axis.wsdl.WSDL2Java).
I noticed, that services an bindings are missing, also a policy is included.
How can i include services and bindings in the wsdl and exclude the policy?
Thanks!well, I assume you have SOAMANAGER.
choose your service & "Apply Selection" (very useless button btw)
select a binding in the dropdown box or create on if you do not have one yet
Click button "Show WSDL options" (actually they do not really look like buttons in WD; call it yellow blot)
Some extra config area is thrown onto your screen (without any sense for usability or design); Change the radio button for WSDL format from "WS policy" to "Standard"; make sure the first radio button group is on "True" for monolithic
Now click the link (why is this a link and no blot?) called "Display selected bindings WSDL URL"
an extra text field is again thrown onto your screen somwhere between the dropdown and the WSDL option config area containing an URL (get out your glasses if you don't see the sub-10pt-letters)
hope it helps,
anton -
Any one please respond.
I've been working on creating a windows server 2008 R2 cluster for about a month now and I keep getting an error whenever I try to add a 2nd node. I keep
getting The cluster node is not reachable. However, when I validate the configuration, everything goes through success. I created and destroyed the cluster a couple of times, but no luck. I even re-installed Windows Server 2008 R2 on both servers, re-configured
the iSCSI, and the same warning keeps coming up.
I installed a new a new SQL Server 2008R2 Named Instance on an exisiting SQL Server cluster node (Node 1 &Node2). When I try to manually fail
over
the Services and applications to another node (Node1 to node2) using Failover Cluster Manager, I get the errors
The cluster has these Events:
Event ID
1069: Cluster resource 'IP Address xx.xx.xx.xx' in clustered service or application 'ClusterDtc' failed.
Event ID 1205:The Cluster service failed to bring clustered service or application 'ClusterDtc' completely online
or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application..
Why the cloud server doesn’t move to node2? you can see screen shorts below.
1.
in system configuration-
3. in
system configuration---->warning--->Validate All Drivers Signed
after creating cluster I got below errors.
Any info you might know would be really helpful.Dear Ravikumar
From clone support they given reply mail...
mail from Ramu...
That would be a typical work around in this situation. But what we intend to do cannot be accomplished through this work around as we need the validations to complete successfully.
We are looking for an option either to get the driver signed or use a different signed adapter for the same. Could you please suggest us something on that line.
Mail from Support....
Hello,
Unfortunately this is not something that we would be able to do in a virtual environment; You are welcome to try different drivers however we would not be able to provide any support
for untrusted drivers. The only true solution would be to upgrade from a VM to a dedicated server where you would have control of all the drivers as there is no virtualization layer to
contend with. Stepping into the territory of untested drivers for a custom configuration in a virtual environment will certainly prove to be an uphill battle.
I would advise contacting Microsoft's support for additional assistance as they will be able to provide the most accurate information regarding this concern.
Regards
Systems Administrator -
I purchased the Pages App on my iPhone. Does that include the Pages Application for my Mac Mini? If so, how do I get it onto my Mac?
No it does not. The 2 are separate.
To get Pages on your Mac mini purchase it from the Mac App Store. The icon is on your Dock.
Peter -
Partial Payment (Vendor Invoice include Service Tax & TDS)
Hi
I m trying to post vendor payment thru F-53 (partial clearing) that includes two bills. one invoice consist of service tax & TDS. when i try clear the partial amount, system is not picking the TDS amount (difference amount it is showing)
how can i clear the invoice that includes service tax & TDS.Hi,
When you are posting Partial Payment to Vendor, If any idfference you want to post to separate TDS A/c, Create Reason Codes, and with this reason code post this difference amount to TDS A/c.
Refer T Codes: OBXL and OBBE
This solution may clear your problem.
Thanks
Chandra -
Orderwise, operation wise service entry sheet(Including services ) report
Dear Expert,
Can we get Orderwise, operation wise service entry sheet(Including services ) report. with details like order type,service product, address, customer number(if any) etc.
Regards,
Vishal Thackeri dont think any std report is available with all these data. you may have to configure yourself
you can consider the following tables ESLL ESSR ( for S E )
AUFK, AUFM for order , VIQMEL for notification
MESG, MKPF for goods movement -
MDT 2012 - Application Bundle Install Issues- Logged in as Admin randomly between reboots
Hi Everyone,
We are on MDT 2012 / WDS... Moving to SCCM soon but not soon enough.
A new problem started in our environment and I'm not sure if it's a networking, storage, or wds server / settings issue.
The OS deployment happens completely fine, but during the application install phase (Application Bundle) if the application requires a reboot sometimes the deployment does not continue with the rest of the applications, will just stop the process and be
logged in as administrator.
I've checked the normal deployment logs - bdd.log and there is no errors, it shows the last app install but then just drops off. Almost like the machine is not reconnecting to the deployment share to continue installations after the reboot.
This is very random and does not happen on the same app or just one machine model, it's almost like a networking hiccup or something else. The apps exist on the deployment share which is on a 2008 VM with Nas storage.
Any help is appreciated, other logs to look at or if anyone else has seen similar etc...
Thank You!Thanks for the help guys, I believe I'm all set now. Basically removed the reboot from the problematic app and put the app at the end of the app bundle.
This one was strange... It was the App-V client which I originally did not have a reboot and was the very first app installed in the bundle. With no reboot, I noticed some machines installed the app-v client then would skip all the other apps and move on
to the next phase, which is why I added a reboot.
After adding the reboot I started seeing the problem I posted above logged in as admin. So ultimately removed the reboot and added it as the last app, which seems to be working.
Thanks Again.
Maybe you are looking for
-
Using a Mac Pro keyboard with OS 9?
I've acquired a couple of Pro Keyboards (model a1048) that come with the disclaimer that they require v10.2 or later. Well they actually sort of work with OS 9 - with the glaring exception of the CD Eject key. THAT key is totally non-functional which
-
Iomega 360 GB external hard drive startup
How do I install OS X.6 onto my external hard drive? Can I just drag the SYSTEM folder from my intel-based iMac into the external drive? I think I may be missing some install OS X CD's -- for the iMac. I have the iMac OSX Install disc 1 -- and -- OSX
-
Hi I am trying to post to the ECC system using XI Adapter. I get this error at the Call Adapter stage URL http://host:port/sap/xi/engine call was terminated because the corresponding service is not available. Here the host is the server name of the E
-
Hello there, Everytime I create a new Keynote document, the default zoom is set to 100%. I work with a 13 inch MacBook, so my screen isn't that big. I prefer a zoom of 75%, to use a couple of inspector windows. There seems to be no option to change t
-
Has anyone had any issues with updating iphoto?
update doesnt show the update, but iphoto is asking for it