1.4.2 using deployment.config and deployment.properties
Can anyone tell me if JRE 1.4.2_06 can use the deployment.config and deployment.properties setting like ver 1.5.0 can?
I have to use 1.4.2_06 and need to have the cache point to a common location (vs per user) and also would like to preset the cache size on an install.
This works perfectly on 1.5.0 however, my app requires 1.4.2.
Can anyone point in a direction?
Thanks
Kevin
Hi Kevin,
I am actually working on the same problem.
I need to deploy Java 1.4.2_07 on clients with a mandatory setup. I tryied the deployment.config and deployment.properties file but didn't get it working yet.
I guess we should share knowledge to find a working solution.
It would be nice, if you could email me at:
[email protected]
regards,
Volker
Similar Messages
-
Distributing a deployment.config and deployment.properties for proxy settings.
I am trying to define the minimum config required to populate a deployment.properties with just proxy settings and point to this with a deployment.config.
I am finding that that recent versions of 1.7 and 1.8 do not adhere to the browsers settings properly and not all traffic is following the proxy rules in use by the browser. However, if I manually override all traffic to a proxy the applets running on internet based sites function (no intranet sites use java here). If I use a deployment.config, I can see the resulting proxy settings are enabled in the control panel app and the appear exactly the same as per user manual settings, however they are not correctly used.have any ideas?
Any one have any ideas?.
ThanksHi Kevin,
I am actually working on the same problem.
I need to deploy Java 1.4.2_07 on clients with a mandatory setup. I tryied the deployment.config and deployment.properties file but didn't get it working yet.
I guess we should share knowledge to find a working solution.
It would be nice, if you could email me at:
[email protected]
regards,
Volker -
OS X deployment.config and deployment.properties not working?
I have a deployment.config file at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/deployment.config with the following contents:
deployment.system.config.mandatory=false
deployment.system.config=file\:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deployment.properties
The deployment.properties file is located at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deployment.properties with the following contents:
#deployment.properties
deployment.macosx.check.update.locked
deployment.macosx.check.update=false
deployment.expiration.check.enabled.locked
deployment.expiration.check.enabled=false
None of this is working. Do I have the wrong directories or syntax somewhere?
The documentation at : System- and User-Level Properties says that the deployment.config file will override user settings when placed at ${deployment.java.home}/lib/deploy/deployment.config.
It seems like the deployment.config file is being ignored completely. I am working with Java 7u40 and higher. Nothing seems to do it.
Any help would be appreciated!! Thanks!Yeah, it only happened to me in the last couple days, so I'm not sure what's happening (latest OS and latest version of Logitech Control Center (but a somewhat old MX Revolution)). Logitech's software is notoriously flakey on Macs, so I'll just chalk it up to that
-
WLS 6.0 config and deployment
Hi,
Just converted our app from 5.1 to 6.0. Not too many problems once we
figured out the class loader situation. I have some questions regarding
configuration and deployment which are not clear to me after reading the
documentation.
I find I have to modify config.xml manually quite often to fix problems
which the console creates. It is not at all uncommon for me to change a
property via the console and then have to undo the change manually to
get the server to properly start up again. While I accept that this is
probably due to a mistake I am making, I am very surprised that this
system is so fragile. Now for my questions...
1) Sometimes the console will add a new application to my config.xml
with a
"-1 " extension. Why is this? It doesn't create problems in and of
itself but does seem to accompany other problems which the console
creates in this file.
2) I intend to deploy an ear for production purposes, but as the
documentation points out this is inconvenient for development. I need
the ability to modify single jsp files without redploying all of them.
This worked great in 5.1. I am unable to do this in 6.0. As it stands
now, my jsp files are only redeployed on startup and unfortunately seem
to be redeployed every time we start regardless of whether chnages were
made to them. This makes development much slower. The REPLOY file
business discussed in the docs doesn't seem to have any effect. I
currently am deploying the jsp files and associated classes in "expanded
directory format" under the .config/domain/applications/applicationName
directory. I am deploying some EJBS in a pre-compiled jar file and
placing this jar file in the system classpath so the jsps can access the
shared classes. (I know this prevents hot deployment but I seem to have
no choice since the EJBs interfaces do not reference all shared classes
and therefore do not export them to their parent.) This jar file resides
in the ./config/domain/applications directory. Any ideas as to why I can
not get my jsp files to hot deploy one at a time.
All in all, 6.0 is a great release but development time has increased
dramatically. Hot deployment is not going to work for us because
unfortuneately many of our classes are required by our startup classes
and therefore must be placed in the system classpath.
Thanks,
SteveBasically, hot deployment of JSPs isn't supported for dynamically deployed
webapps, that is, those int the applications directory.
Gary
Steve Snodgrass <[email protected]> wrote in message
news:[email protected]...
Follow up...
I have been able to get individual jsp files to hot deploy if they are
located in the DefaultWebApp_myserver directory instead of my applications
directory. It is possible to achieve this behavior in other directoriestoo
if they are configured correctly right? I mean, there is nothing special
about DefaultWebApp_myserver that would allow it to do something thatother
directories can not?
Steve
Steve Snodgrass wrote:
Hi,
Just converted our app from 5.1 to 6.0. Not too many problems once we
figured out the class loader situation. I have some questions regarding
configuration and deployment which are not clear to me after reading the
documentation.
I find I have to modify config.xml manually quite often to fix problems
which the console creates. It is not at all uncommon for me to change a
property via the console and then have to undo the change manually to
get the server to properly start up again. While I accept that this is
probably due to a mistake I am making, I am very surprised that this
system is so fragile. Now for my questions...
1) Sometimes the console will add a new application to my config.xml
with a
"-1 " extension. Why is this? It doesn't create problems in and of
itself but does seem to accompany other problems which the console
creates in this file.
2) I intend to deploy an ear for production purposes, but as the
documentation points out this is inconvenient for development. I need
the ability to modify single jsp files without redploying all of them.
This worked great in 5.1. I am unable to do this in 6.0. As it stands
now, my jsp files are only redeployed on startup and unfortunately seem
to be redeployed every time we start regardless of whether chnages were
made to them. This makes development much slower. The REPLOY file
business discussed in the docs doesn't seem to have any effect. I
currently am deploying the jsp files and associated classes in "expanded
directory format" under the .config/domain/applications/applicationName
directory. I am deploying some EJBS in a pre-compiled jar file and
placing this jar file in the system classpath so the jsps can access the
shared classes. (I know this prevents hot deployment but I seem to have
no choice since the EJBs interfaces do not reference all shared classes
and therefore do not export them to their parent.) This jar file resides
in the ./config/domain/applications directory. Any ideas as to why I can
not get my jsp files to hot deploy one at a time.
All in all, 6.0 is a great release but development time has increased
dramatically. Hot deployment is not going to work for us because
unfortuneately many of our classes are required by our startup classes
and therefore must be placed in the system classpath.
Thanks,
Steve -
I'm trying to sync a Sharepoint calendar with Outlook on my mac. When I click on "Connect to Client", I get this error:
Firefox doesn't know how to open this address, because the protocol (stssync) isn't associated with any program.
I used the about:config instructions to create a new string:
* Type about:config into the address bar and press Enter.
* Right-click -> New -> Boolean -> Name: network.protocol-handler.external.foo -> Value -> true (Replacing foo with the protocol you're specifying)
* Right-click -> New -> String -> Name: network.protocol-handler.app.foo -> Value -> /path/to/app (Replacing foo with the protocol you're specifying and /path/to/app with the path to the application you want to run.
* Ensure network.protocol-handler.expose-all is set to true.
The path I used (which opens Outlook if I click on the icon) is:
/Applications/Microsoft Office 2011/Microsoft Outlook.app
I'm still getting the same error message.
Please help me to allow Firefox to open stssync pages so that I can sync my calendars.
Thank you in advance.Straight from the Mothership:
http://www.officeformac.com/ms/ProductForums/Office/6960
NO SHAREPOINT INTEGRATION!
To be considered a true business software, wouldn't this be a nice feature? Oh yeah, I left feedback and hope many others will as well.
On 11/12/10 9:19 AM, [email protected] wrote:
> How do I view SharePoint contacts in Outlook 2011? In windows the
> "Connect to Outlook" button is highlighted, however on a Mac it is
> greyed out and I can see no way to add them from Outlook.
''Currently, Outlook for Mac has no SharePoint integration.''
Please be sure to let Microsoft know you'd like to see this feature in
future versions by using the Help --> Send Feedback mechanism in any
Office application.
Hope this helps! -
Deployment.config/properties All Users dir on Windows
Question about the 2 files deployment.config and deployment.config which can be located in "%WINDIR%\Sun\Java\Deployment" or "%USERPROFILE%\Application Data\Sun\Java\Deployment"
Unfortunately the option to specify a new location for the cache is only applicable to the deployment.properties when it's located under the user profile, it doesn't work when specified under the windows directory.
I'm curious as to whether I can place the 2 files under the All Users profile and it would achieve the same result for everyone using the workstation.
Any ideas?After some testing it seems this is not possible.
However, as long as there is no cached profile on the workstation, placing the files into the "Default User" profile will create them for all subsequent logons. Which is a pretty good fix. -
On my Windows 2003 terminal servers, the C: drive has been remapped to M:
Why doesn't javaws look in M:\WINDOWS\Sun\Java\Deployment for deployment.config and deployment.properties or can it be configured?According to the documentation, you can put deployment.config in either <Windows Directory>\Sun\Java\Deployment\deployment.config or ${deployment.java.home}\lib\deployment.config. But for some reason it is only the last option that is working, so you must install that for every version of the JRE that the server has installed.
Not the most elegant solution in my opinion. -
Setting system level deployment.user.cachedir in deployment.config
G'day,
I've been experimenting with JRE 1.5.0_04 on Windows XP.
By default deployment.user.cachedir is set to <user home>\Application Data\Sun\Java\Deployment\cache. However, I want it to be <user home>\Local Settings\Application Data\Sun\Java\Deployment\cache.
I have managed this as follows.
C:\Windows\Sun\Java\Deployment\deployment.config contains:
deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.propertiesand C:\Windows\Sun\Java\Deployment\deployment.properties contains:
deployment.user.cachedir=$USER_HOME\\..\\..\\..\\..\\Local Settings\\Application Data\\Sun\\Java\\Deployment\\cacheThis works but is ugly. The problem is that $USER_HOME=<user home>\Application Data\Sun\Java\Deployment. It seems that $USER_HOME and $JRE_HOME are the only two variables for use in deployment properties. Are there any others, in particular, one that mirrors the user's actual home directory?
Thanks,
Chris.G'day,
Open the Java Console and execute "dump system and
deployment properties" which shows property values,
and see if what you want is there.Thanks, but I don't think I can use these at the system level, can I?
I did try using ${user.home} but that doesn't work.
So, are there any variables other than $USER_HOME and $JRE_HOME that can be used when setting system level properties?
More info, http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
Thanks,
Chris. -
Procedure to deploy ABAP and JAVA in sync
Hi,
we have a Java application which uses RFC's in a SAP backend though the JRA.
We use netweaver 2004 sp16.
When we make changes to an RFC which is used by the Java application we must restart the whole J2EE server for the JRA to reload the structures of the RFC.
Now we are starting to use the JDI and deployment is automatic when we activate changes.
Is there a way to avoid having to restart the J2EE server ? Has someone used other techniques which don't force you to restart the J2EE server ?
I would understand restarting the connectors in the worst case but the whole server is really overkill if you ask me .
Thanks.Hi,
yes I'm sure we had to restart the whole server (JVM). We tried restarting the connectors but it seems something is held in cache. Does the JCO cache the abap data structures required to call RFC's in ABAP ? -
System level location of deployment.config
According to http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html, the system level deployment.config can be found in one of two locations on windows:
(1) <Windows Directory>\Sun\Java\Deployment\deployment.config
(2) ${deployment.java.home}\lib\deployment.config
The documentation is a bit sketchy as to what determines which location it checks. From my testing, it seems that if you have a JDK installed, it looks for it in (1). If you only have a JRE installed, it looks for it in (2). Can someone confirm this? Secondly, why does WebStart via a JDK install look in one location while WebStart via a JRE look in another? Why can't it simply search in one location?JRE/JDK makes no difference. Java Web Start is in the JRE, so you actually need a JRE to run javaws.
Webstart will always look first in (1) , and if no deployment.config is found, it will look in the lib directory of the jre that javaws is in. (2)
However, updating a JRE will (until after 6u4) put the new JRE in a new directory, so you would loose any customization done to the old JRE (such as putting a deployment.config in in) so (1) is preferred, unless you want the config to only apply to a specific update version.
/Andy -
Packaging and deploying jax ws (webservice) in multiple servers
I am a java developer and new to JAX-WS.
i got one requirement to create a web service using jax-ws, packaging using ant build and deploying it in JBOSS and WEBSPHERE server.
The process which i followed to create a web service below:
1) created a web service class using @webservice annotation
2) created a client side artifacts using wsimport which is provided by Jdk and created a war and deployed it jboss.
3) wsdl is getting generated while deploying a war using a URI - (http://localhost:8080/mywebapplication/routing?wsdl)
4) create client class to call the webservice. everything is working fine for me.
Need your expert input for the following below:
1) if i write the ant build script to package the client stubs, how i can use wsdl location in wsimport ant task. should i use URI (wsdl="http://localhost:8080/mywebapplication/routing?wsdl") or
(wsdl="d:/route.wsdl")? which is the best practice?
2) i want to deploy my webservice in JBOSS and WEBSPHERE in different machine and different port no?
for e.g
* http://ip1:port1/mywebapplication/route?wdl*
* http://ip2:port2/mywebapplication/route?wdl*
* http://ip3:port3/mywebapplication/route?wdl*
how to mention dynamic ipaddress and port no while running ant build script?
how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
* Do i need to use wsgen to generate server stubs?*
* Need your inputs in packaging and deploying jax ws in multiple servers.*
Thanks in advance.how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
Your client stub should look like that...
<code>
@WebServiceClient(name = "MyClientStub", targetNamespace = "http://www.openuri.org/", wsdlLocation = "http://localhost:8080/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl")
public class MyClientStub
extends Service
public MyClientStub(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
</code>
You can use the constructor above, like that...
<code>
URL baseUrl = MyClientStub.class.getResource(".");
URL url = new URL(baseUrl, "http://your-server:your-port-no/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl");
MyClientStub stub = new MyClientStub(url, new QName("http://www.openuri.org/", "MyClientStub");
</code> -
Where do I find the Package and Deployment options in CF Admin 8 and 9?
I've recently talked to a person at Adobe and found documentation on migrating using the Package and Deployment option to create CAR files. I just can't seem to find the menu options in my CF8 or CF9 Admin. I am running CF standard. I do have around 40+ datasources and a couple of dozen scheduled tasks that I need to move.
I just need someone to point out to me how to get to the Package and Depoymeny section.
Warmest regards,
David MillerStandard doesn't have this feature. You need to be running Enterprise or Developer (see http://www.adobe.com/products/coldfusion/editions/).
You can revert to developer temporarily by removing your licence key, do the archive, put the key back in again ;-)
Adam -
Problem trying to manualy re-deploy a previously deployed process
Hi, when I do a manual deploy of a BPEL process that has never been deployed all works fine. If have to re-deploy the same process again BPEL ignores the process.
Here are the steps I do on the second deploy of the same process:
- Undeploy the current running process using the BPEL Console
- Copy the bpel_mybpelprocess.jar to \domains\default\deploy
Nothing happens at this point, if this was a new process it would pick it up from the \domains\default\deploy directory and deploy it.
Can anyone help? We are running on version 10.1.2I had a similar issue where re-deploying a process had no effect. I also tried un-deploying, then re-deploying the process but it never appeared in the list of processes in the console.
I resolved the problem by restarting the bpel instance (OC4J_BPEL), then the deployment worked ok.
Toby -
Using RSL and Deploying SWZ files
Hi
I developed a Flex Application on my local machine and used
signed Adobe Framework RSL. It works perfect on my machine and
creates the Flash Player Cache on my machine.
Now when I deploy the same application on my server with the
swf files and the swz files the application is not able to create
cache on the client machine. (its not able to use the framework.swz
file and uses the failover framework.swf files)
I did a lot of reading which says that I should create a
cross domain policy file etc.
http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html
Can somebody please help me and tell me how can I deploy my
application on my server?
and what exactly should I put in my config files and in my
crossdomain.xml file?
Thank youHi Sudheer,
You are going right. And as Nash said the Portal server didnt get restarted when you deploy your par file. I generally follow different steps to deploy and run par file. Have a look, may be this could help you. When I deploy and run par files it doesnt take more than half a minute.
Steps:
1) Save project. Right click and "Quick par Upload".
2) On your browser type
"http://<b><your_server_name>:</b>50000/irj/servlet/prt/portal/" or same page you can get by navigating:
System Administration-> Support-> Portal Runtime-> Administration Console.
3) At the option "Please specify a Portal Archive file (PAR) and press "upload" to store it into the PCD." Deploy your par file by giving the path.
4) On your portal. Follow the path: Content Administrator-> Portal Content -> Portal Content(sub-option). Right click -> New from par ->iView.
5) Here in the list you will find the par file which you have uploaded. Proceed as said.
6) You will finally have an iView. Right click it and preview it.
Next time you make changes to the application just create a par and deploy it in the same way and Preview directly, no need to follow step 4,5. For previewing follow the step 6 again.
Hope this helps you. If still the problem exist then let me know.
Regards
Pravesh
PS: Please dont forget to reward points for helpful answer. -
How to configure and deploy OAM 11g with DB setup using silent mode
Hello all,
I am trying to create automation process to install and configure OAM 11g on WLS. This task involves three stages
1. Install WLS
2. Install OAM 11g
3. Create DB schema using RCU
4. Configure and deploy OAM 11g
I have done first 3 stages in silent mode using scripts and response files. I am stuck at 4th stage. I know how to configure and deploy OAM 11g using config.sh via GUI installer as well as console mode. But I would like to run config.sh in silent mode something like
./config.sh -mode=silent -silent_script=<script_location>
I have searched a lot, but could not find any resource on how to do it? I tried passing the parameters via a text file. But that has not worked. I have also explored WLST, but it also does not work. Given that first 3 things are relatively very simple, the 4th step is becoming complex. I would be very thankful if someone can please point me in the right direction.
Thanks!Have a look at your software directory : <sofware directory>/Disk1/stage/Response
Here you will find 2 rsp files which you can use to install and then configure it all.
Good luck.
Filip
Maybe you are looking for
-
I added a telephone number of a friend in Address Book (didn't add the email). Now when I open Skype, that phone number appears there on the list of friends (but one of the options, if I open up the choices, is 'Add to list' which means it is not on
-
Map styles to tags v. Map tags to styles
Hi everyone, Indesign CS4 has an option in the tags panel to: 1) Map styles to tags and 2) Map tags to styles Does anyone know what the difference between these two options are? Appreciate any help.
-
Max number of level in Account/Product Hierarchy
While creating an Account hierarchy & Customer hierarchy. Precisely how many levels are possible to maintain ?
-
Can't update to 10.6.5
I have 10.6.4 and I downloaded trough Software Update and nothing happens. I downloaded combo updater. Everything appears fine but after restart, still in 10.6.4 After 20 years using Mac I can't believe how many problems I have with Apple in the last
-
Creating an iPad app on a Windows 8.1 PC
Do I require a Mac in order to create an iPad application? I realize I need an iPad to test the app. I am signed up for Creative Cloud, but not the publishing app. Do I need to sign up for the publishing app?