Plugin HTML Bridge cannot not resolved exported packages of Java service

I hava 2 questions.

1. once I have start a new plugin HTML project and compile it, virgo does not start and tells me the following error message:

[2014-04-17 22:20:28.658] [INFO ] TCP Connection(18)-127.0.0.1  <DE0000I> Installing bundle 'com.fujitsu.evwcphtmlbridgeui.evwcp-htmlbridge' version '1.0.0'. 
[2014-04-17 22:20:28.789] [INFO ] TCP Connection(18)-127.0.0.1  <ME0003I> Dump 'serviceability\dump\2014-04-17-22-20-779' generated 
[2014-04-17 22:20:28.789] [ERROR] TCP Connection(18)-127.0.0.1  <DE0002E> Installation of bundle 'com.fujitsu.evwcphtmlbridgeui.evwcp-htmlbridge' version '1.0.0' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.fujitsu.evwcphtmlbridgeui.evwcp-htmlbridge' at version '1.0.0': Cannot resolve: com.fujitsu.evwcphtmlbridgeui.evwcp-htmlbridge
    Resolver report:
        An Import-Package could not be resolved. Resolver error data <Import-Package: com.fujitsu.evwcphtmlbridgeui.mvc; version="0.0.0">. Caused by missing constraint in bundle <com.fujitsu.evwcphtmlbridgeui.evwcp-htmlbridge_1.0.0>
             constraint: <Import-Package: com.fujitsu.evwcphtmlbridgeui.mvc; version="0.0.0">

    at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
    at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)
    at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)
    at org.eclipse.virgo.kernel.deployer.management.StandardDeployer.deploy(StandardDeployer.java:52)
    at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:192)
    at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:174)
    at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)
    at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)
    at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1486)
    at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:96)
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1327)
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1419)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:847)
    at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    at sun.rmi.transport.Transport$1.run(Transport.java:177)
    at sun.rmi.transport.Transport$1.run(Transport.java:174)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:173)

    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)

    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)

Then, I refer to the following method in the FAQ:

Q:bundle installation will fail because "One Import-Package can be solved": This means that Virgin can not find any package installed exporting the missing package: (1) Metadata Import-package bundle manifest are bad (but this is very unlikely if you used a tool like bundlor to generate), (2) or the missing package is a library which itself contains no correct OSGI metadata (see how to package a library as an OSGI bundle) (3) or simply as the bundle export the package in question is not yet deployed! See the list of status bundle in the Publisher of the Virgin. Select the package and check the list exported packages.   (4) If you have checked the previous points and the deployment error persists, try to remove your work/Server directory where the beams are cached, and restart the server.

Step 1. I'm done.

Step 2. Even if I use "Virgo/Run MANIFEST generation. The MF FILE"to get the file MANIFEST. MF, virgo still does not start.

Step 3. There is no package called 'com.fujitsu.evwcphtmlbridgeui.mvc' in the overview of the bundle.

Step 4. Do not work.

2. after the construction of java code, I get a warning. If it leads to the first question?

BuildFile: C:\sdk\workspace-sts\evwcp-htmlbridge-service\build-java.xml clean: [delete] removing directory [mkdir] C:\sdk\workspace-sts\evwcp-htmlbridge-service\target Created dir: C:\sdk\workspace-sts\evwcp-htmlbridge-service\target\classes compilation-java: [javac] 10 compilation of source C:\sdk\workspace-sts\evwcp-htmlbridge-service\target\classes [javac] WARNING files: [options] bootstrap class path is not fixed with - 1.6 source [javac] 1 WARNING BUILD SUCCESSFUL Total time: 2 seconds

By referring to the method in the FAQ, I need to install JDK1.6, but step "Add jdk1.6.x/lib/rt.jar javac-bootstrap option' makes me confused, I don't know how to do."

BTW: my software environment
Win7 x 86
Java JDK 1.7.0_17
Apache Ant 1.9.2
Eclipse JEE
M 2.9.2.RELEASE
Eclipse Virgo tools I can't find version
vSphere Client SDK Tools 1.0.0.201402061353
Flash Builder 4.7
Flex SDK 4.6
Flash Player 11.5 +.
I put the Java compiler option - target 1.6 in my build script.

> "

Version 0.0.0 is a sign that the MANIFEST is missing from the jar to this bundle (the default version is set to 1.0.0 in MANIFEST. MF)

This means that the build Eclipse or STS was not clean.  The workaround is to make "project > clean" and force a redeployment to this package.  The Java console must demonstrate that the 1.0.0 version has been deployed.  You can also see that in the complete log of the Virgin.

Tags: VMware

Similar Questions

  • Calling a Flex action when you display a view html Bridge does not work

    Hello

    I have a second question.

    Our plug-in displays a view of the hosts using the html bridge code.  When our view is active and the user

    call the context menu in the Navigation on the left - and attempts to perform an Action (for example: Host disconnect).

    the container (IFrame) in which appears our point of view, is made to have a bright white background, and the action does not work

    work - no dialog boxes don't start or anything like that.

    Is there anything I can do to prevent this?

    Thanks for some tips more

    Cathy

    Hi Laurent,.

    I made a Plugin Acme - it does nothing except show a label and a text.  Then I added this to my plugin.xml for a host.

    The first photo shows just the plugin at the beginning.  Then I call the contextmenu - and select "Disconnect" - the third watch

    what looks like the view, and it's normal 'disconnect' are you sure... box is not running...

    But I noticed that I use the sdk 6.0ga - so maybe I should try with update 1?

    But for our production, we use the sdk 5.5, because it must operate on 5.5 as well.

    I also tried another host of Actions, such as alarms-> new alarm definition - but that works properly.  I don't know what could be the difference.

  • VMnet bridge cannot not labeled past 1500 byte frames (1504 bytes with tag) - is there a solution?

    Hello

    I set up a Windows 7 with VMware Workstation 10 host.  I am running 3 guests: 2 Linux and Windows XP 1.  These individuals are bound by local network segments.  A Linux host (let's call it 'A') brudges network interface 1 to an Ethernet USB adapter attached to the host.

    The other invited Linux (let's call it 'B') bridges 4 network interfaces on the host of Win 7.  I do this Setup VLAN b (eth2.30, eth2.60, eth2.29, eth2.220) and bypass eth2 interface integrated on the host of Win 7.  I had to create a registry entry "MonitorMode" (http://www.intel.com/support/network/sb/CS-005897.htm) on the Windows 7 host in order to move the frames marked between the guest and the outside world (Win 7 strips incoming tags by default).  NIC integrated on the Win 7 host is connected to a Cisco switch as a 802. 1 q trunk.  Other hosts are connected to the switch via these VLANs on the trunk.  Applications on these hosts communicate with guests on the host of Win 7 on the VLAN, it is necessary.

    It works fine until I have try to get through the VMnet bridge frames that have an MTU greater than 1496.  These frameworks are interrupted whehter they are incoming or outgoing.  I suspect that the reason is an acceptable framework normally 1500 bytes is, when the tag, 1504 bytes and is therefore stripped on the VMNet bridge.  I tried to adjust the MTU on the NIC host and eth2 comments to 1496 and 1504.  No effect, as I expected.  Packet Capture one side of the bridge as these large frames MTU vmnet show are ignored at the bridge.

    I have control over some of the external systems (and of course all the guests) and I adjusted the MTU on these systems at 1496 bytes.  This works very well for these systems.  But for traffic from external guests that I can't change it, 1500 (1504 with tag) frames is ignored at the vmnet bridge.

    I have read that I need jumbo frames support so that it works.  I found documentation indicating extended frames are not supported in workstation 7.  I guess that has not changed in 10 WS.

    I tried an alternative approach: Create VLANs on the host of Win 7 using Intel PROset, remove the VLAN eth2 the Linux prompt and instead create multiple virtual NICs (eth2, 3, 4, 5) and fill each virtual NETWORK adapter to a host of Win 7 VLAN.  Although VMWare network Editor allows me to create these bridges, I can't pass any traffic through them regardless of the MTU.

    So, my questions:

    (1) are extended frames supported in 10 Workstation?  If so, how can I activate them?

    (2) I would be able to bridge a guest virtual NETWORK adapter to a VIRTUAL host LAN interface?

    (3) is there another way to do this?

    Thank you and best regards,

    Steve

    Solved!

    The other approach, I described in the previous post (creation of VLANs on the host of Win 7 using Intel PROset, remove the VLAN eth2 the Linux prompt and instead create multiple virtual NICs (eth2, 3, 4, 5) and fill each virtual NETWORK adapter to a host of Win 7 VLAN) works if I REMOVE the setting of registry MonitorMode I also described in the previous post.

    Wireshark showed that with the Win 7 host VLAN enabled and the value of MonitorMode tags VLAN were being stripped.  Eliminating MonitorMode allows the NIC to tag/UNTAG as needed by the configuration of VLAN PROset.  Since the frames are not marked as they are bridge to/from the comments, all the interfaces of my spend management full size in both feel.

  • Plugin using the html bridge with DataProvider which includes DataProviderAdapter and PropertyProviderAdapter

    Hello

    We have extended our plugin to include views that use the html Bridge.

    The first step was to display the data on our custom types. Applications range from the gui - to the DataAccessControlller as seen in the samples of chassis.  Then a RequestSpec is generated and sent to the dataService:

    dataService.getData (requestSpec).

    The dataServices then forwards the request to our DataProviderAdapter - as in the example. Everything works fine.

    Now we want to rewrite some of the other views (for guests, vcenters etc.) to use the html Bridge as well, but these views use PropertyRequestSpecs for data.  These requests should be sent to the PropertyProviderAdapter - where all code wrote

    I tried something like the following:

    If (targetType is customType) - build a RequestSpec and send it to the dataService

    If (targetType == managedObjectType (as a host) - build a PropertyRequestSpec and send it to the dataService.)  This

    does not work, because the dataService only takes RequestSpecs as the parameter to GetData.

    I looked at the samples for vsphere and saw that they also make RequestSpecs and send them to the dataService.  These applications, however, do get sent to their PropertyProviderAdapter - and I have found no difference in the way in which the RequestSpecs were built.

    The difference between the 2 samples and my DataProvider, it is that I have both a DataProviderAdapter and a PropertyProviderAdapter in the same DataProvider.

    So the question is: is it possible to have the dataService send the request to the adapter is correct (or both) - based on the targetType?

    Thanks for any ideas

    Cathy

    The DataService interface is:

    public Response getData(RequestSpec request);
    

    RequestSpec has a picture of QuerySpec

    public QuerySpec[] querySpec;
    

    The QuerySpec a ResourceSpec and constraint:

    public ResourceSpec resourceSpec;
    
    public Constraint constraint;
    

    In the ResourceSpec you have PropertySpec

    public PropertySpec[] propertySpecs;
    

    In the PropertySpec you have the property names:

    public String[] propertyNames;
    

    Now after all this being said, if you have a PropertyProviderAdapter, who provides the 'foo' VirtualMachine type property, you must pass the DataService a RequestSpec with

    ObjectIdentityConstraint c = new ObjectIdentityConstraint();
    c.target = vmMor;
    c.targetType = "VirtualMachine";
    requestSpec.querySpec[0].resourceSpec.propertySpecs[0].propertyName[0]="foo";
    requestSpec.querySpec[0].constraint = c;
    

    Now when you pass this requestSpec, the DataService will build the PropertyRequestSpec and call your adapter.

  • I am trying to accept an invitation from my mom's remote assistance and this is what I got after entering the password: connect Remote Assistance could not be established because the DNS name of the remote computer cannot be resolved.

    I am trying to accept an invitation from my mom's remote assistance and this is what I got after entering the password: connect Remote Assistance could not be established because the DNS name of the remote computer cannot be resolved.

    You get the error "a Remote Assistance connection could not be established because the DNS name of the remote computer could not be resolved" when the requesting computer (the computer 'demand' help) sends its private IP address instead of its public IP address in the request for assistance. The solution is 'easy' for some and difficult for others. I present here for your perusal:

    (1) obtain the public IP address of the requesting computer (by visiting a web page such as http://www.whatismyip.com)
    (2) save the remote assistance request computers
    (3) modify the remote request for Assistance (RcBuddy.MsRcIncident) using a text editor (such as notepad) and replace the private - section of IP address should be something like this:
    RCTICKET = 65538,1,192.168.1.33:3389 «»
    with the public IP address from whatismyip.com or elsewhere - should be something like this:
    RCTICKET = 65538,1,74.125.47.147:3389 «»
    (4) save the file of RcBuddy.MsRcIncident 'new '.
    (5) double click it to connect to the computer needing help
    (6) cross your fingers and hope it works!

    I hope this helps someone else - if it's too much trouble, feel free to use the tools mentioned elsewhere in this thread.

    -Computers Acorp
    www.ACoRP.net

  • When I export to HTML, the HTML file is not displayed

    Hi all

    I have a template that I modified. I've been recording and when I go to export it to HTML format, I can't find the HTML files. There are files CSS, image files, but not the HTML files.

    Is someone can you please tell me where I have gone wrong? I need to be able to export as HTML in order to show my boss files and send him everything so that he can see his computer via a browser without having to host them.

    Repeat the file > export as HTML in an empty folder.

    If you have manually deleted a file that was previously exported .html files to, Muse will think that they are still there and not re - export (assuming that you does not also remove the file muse_manifest.xml, where Muse keeps track of what is exported).

    Regardless, exporting to an empty folder will cause Muse of re - export all.

  • When I design with Muse and export in HTML, Dreamweaver is not attached style sheets. All the answers?

    When I design with Muse and export in HTML, Dreamweaver is not attached style sheets when I open files with Dreamweaver. Basically when I draw with Muse files do the same with Dreamweaver. Is this a bug? Workaround solutions?

    Then you will need to install a local server and use live view.  It is not that DW is not making it or is not endearing, it's this Muse has decided to use the treatment side server to include who is authorized to practice CMS when you combine the style sheets for better caching, but it is not really ideal for a single style sheet.  It is a shortcoming of the Muse and one of the reasons why many professionals will return the product at present.  That and you can't actually buy Muse, so unless you are on a subscription you haven't.  It seeks to fill a void for those who do not want to invest in professional design like Fireworks, Photoshop or Dreamweaver tools, but want a cross between them to make drawings.  If you have invested in the right subscription and want a better way to make models I highly recommend this coding yourself and using Fireworks or Photoshop to make the layout for you.  There is an excellent tutorial on the devnet (3 pieces) to show you how its done ( http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html ).  Once you start using Fireworks or Photoshop, you'll realize how limited Muse is in the design.

  • Bridge cannot read the format from my new camera RAW

    I just bought a new Sony SLT - A58 but bridge says that it cannot read the RAW format, so, I can't download my pictures.

    I went online and found an Adobe Camera Raw 6.7.1 and DNG Converter 7.4 plugins that supposidely would solve the problem. Nothing helps. Still refuse to recognize the RAW format.

    Desperate as it's my job to camera and and need it up and runing as soon as possible. I have had absolutely no problem with my older Sony A100.

    What's weird is that... If I pass the photos in the converter, it shows me the .dng pictures version, so something is there. Why the bridge can not see my RAW photos? ... and also, leave tons of caches and weird icons in the file, a real mess.

    I'm on Mac OS 10.6.8 platform (Snow Leopard) and using CS5... and Yes, all my programs and software are up-to-date.

    Thank you for your help...

    ... and happy new year

    So if the RAW support is specific, why do a plugin for CS5 and for my camera?

    Adobe has released versions of Adobe Camera Raw (ACR) immediately to ACR 1.0 (which was compatible with Photoshop 7). However, cameras supported varies according to the version of ACR and the version of the Adobe application.

    You must match:

    • your camera brand and model
    • the version of Camera Raw that takes in charge your camera brand and model
    • the specific version of Adobe software that supports the version of Camera Raw that you need.

    In your case, the Sony SLT - A58 was first based ACR 7.4 - which is only supported in CS6 and later versions. CS5 is not compatible with ACR7.4.

    Full list of supported devices is here

    http://helpx.Adobe.com/Creative-Suite/KB/camera-raw-plug-supported-cameras.html

    Applications of camera Raw compatible Adobe are listed here

    http://helpx.Adobe.com/x-productkb/global/camera-raw-compatible-applications.html

    CS5 is certainly not an antique and the A58 Sony isn't a huge technology Hasselblad. I have friends who have a large Nikon and Sony A77 and Canon and import their FIRST in their Bridge CS5.

    All that matters is that the specific camera corresponds with what version of ACR - and what applications are Adobe are compatible with this version of ACR.

    Can't comment on great Nikon or Canon mentioned above without specific camera model numbers.

    However, the Sony A77 is supported by ACR6.5 which is compatible with Bridge CS5 +. Easy to see why this combination works.

    Similarly, your Sony A100 was first supported by ACR 3.5, which is compatible with Bridge CS2 +. Easy to see why it works.

    Always read the tables linked above Adobe and cross with each other. That should clear up your confusion.

  • IP network address conflict cannot be resolved, while the media is disconnected

    I'm not too smart with computers.  I get a message saying that I have an IP address conflict.  I do what it says on the command prompt on the command ipconfig/release ipconfig/renew.  He said cannot set while the media is disconnected.   Have checked Web sites and what to check the adapter, ethernet cable, router etc.   Still is not resolved.

    Hello

    (1) what operating system is installed on the computer?

    (2) since when are you facing this problem?

    (3) any changes made to your computer before this problem?

    (4) do you have a wired or a wireless connection?

    One of the components of the Internet connection on your computer is a package of instructions called TCP/IP. TCP/IP can sometimes become damaged or altered. If you can't connect to the Internet and you have tried all other methods to solve the problem, TCP/IP can be causing it.

    TCP/IP is a main component of Windows, you cannot delete it. However, you can reset TCP/IP to its original state by using the NetShell (netsh) utility.

    You can try the steps in this link and check if this solves the problem.

    How to reset the Protocol Internet (TCP/IP)

    http://support.Microsoft.com/kb/299357

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    You can also refer to:

    Wireless and wired network problems

    http://Windows.Microsoft.com/is-is/Windows/network-connection-problem-help#network-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Note:

    If you're on a home network, I would season allows you to install the latest firmware of the router. To visit if the manufacturer of the router.

    If the problem persists, you can also contact the ISP (Internet Service Provider).

    It will be useful.

  • I have a PC with windows 7 Home Premium installed. The PC is faulty and cannot be resolved. Can I reinstall the same Windows 7 to a new computer without additional cost?

    I have a PC with windows 7 Home Premium installed. The PC is faulty and cannot be resolved. Can I reinstall the same Windows 7 to a new computer without additional cost? If yes how can I do this? Some people reported issues license keys and it cannot be registered once in a PC.

    Thank you

    It is the major limitation of the OEM software that it can be installed on a PC. The COA label will confirm whether the license is OEM. A number of elements can be replaced in a PC in the way of repair, but only if exactly the same model of Council can this be exchanged.

    Even if you transfer the drive to the new PC would not authenticate because of the change of equipment, and it would be unlikely to to re-authenticate online.

    If the label is not OEM and you have a retail package, so it can be transferred.

  • Handling exceptions using html-bridge

    Hello

    We begin to create plugin views using the html bridge.  Everything worked well, until we started to work on the management of exceptions.

    The dataservice, an error occurred when retrieving data - so a RuntimeException is thrown.   But in our htmlview - in the

    . Fail (function (jyXHR, status, error) - the error value is always "not found".

    I thought I was doing something wrong, so I tried the same thing in the global services-html plugin - but the results are the same.

    Here, I just throw a RuntimeException false registration settings.

    > throw new RuntimeException ("abcd");

    It gets stuck in the Service controller - in the handleDataAccessException() - which returns

    > return Collections.singletonMap ("message", ex.getMessage ());

    Here we can see the message

    'Error in parameter in null\globalview/Settings.properties record'

    But in the settingsView.js, the .fail is called, and the error is also 'not found '.

    Could you please tell me what is the problem here?

    Thank you

    Cathy

    Found what was wrong with our example code.  It turns out that the "not found" error comes from Tomcat that signals a 404 for saveSettings.jsp in the case of the Global Services sample...

    Exception handling code must be changed in ServicesController.java

    Of this:

    @ExceptionHandler (Exception.class)

    @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)

    public map handleDataAccessException (Exception ex) {}

    Return Collections.singletonMap ("message", ex.getMessage ());

    }

    To do this:

    @ExceptionHandler (Exception.class)

    @ResponseBody

    public map handleDataAccessException (System.Exception ex, HttpServletResponse response) {}

    response.setStatus (HttpStatus.INTERNAL_SERVER_ERROR.value ());

    Map errorMap = new HashMap ();

    errorMap.put ("message", ex.getMessage ());

    If (ex.getCause ()! = null) {}

    errorMap.put ("cause", ex.getCause () .getMessage ());

    }

    StringWriter sw = new StringWriter();

    PrintWriter pw = new PrintWriter (sw);

    ex.printStackTrace (pw);

    errorMap.put ("stackTrace", sw.toString ());

    Return errorMap;

    }

    It does not get confused about view missing .jsp Tomcat and the correct 500 error is returned to the Javascript code.  Note that in addition to the exception message, I add the message of "cause", if any, and the stack trace to the card.  So now the side javascript, you must change the JQuery code like this to extract the message and (in this example I do not display the stack trace)

    {$("#settingsForm").submit (function ()}

    var $form = $(this);

    JSON = $form.serializeJson (),.

    saveUrl = ns.webContextPath + "/ rest/services/saveSettings;

    $.post (saveUrl, {json: json}, function() {})

    $("#updateMsg").show ();

    })

    . Fail ({function (jqXHR, status, error)

    var response = jqXHR.responseJSON;

    Alert ("update failed:" + response.message + "")

    ("\nCause:" + response.cause);

    $("#updateMsg").hide ();

    });

    return false is required to cancel the default submit event!

    Returns false;

    });

    See the attached screenshot for the displayed error.

    BTW, this error occurs in the Global Services sample because there is no such thing as the directory/var/lib/global services (on Mac) and properties of parameters can be saved.  Once you create this directory sample works :-)

  • Bridge does not

    I'll try to make this as clear as possible because I'm not as smart as many of you please bear with me.

    I'm working with Adobe Bridge CS6 5.0.2.4 on my Mac OS X 10.9.2. A few days ago when I opened it, the following message appeared.

    Screen Shot 2014-05-10 at 10.24.02 AM.png

    I didn't really know what was the central cache, but I assumed he was causing a problem (by the pop-up message) so I did what he said and I erased the central cache. I have a lot of RAW files on my computer so I thought that could be the problem. I did it for all folders that I had worked in for several days.

    Screen Shot 2014-05-10 at 10.40.36 AM.png

    After having done that, the preview of my images disappeared. Now I have it. I realize that it does not say "criteria building...". "but it's just sitting there and nothing happens for hours.

    Screen Shot 2014-05-10 at 10.34.35 AM.png

    I searched through other forums and I tried different things.

    I tried this (also I tried without the 100% previews):

    Screen Shot 2014-05-10 at 10.28.22 AM.png

    I tried this (also tried without the 100% previews):

    Screen Shot 2014-05-10 at 10.31.17 AM.png

    (I saw that I must NOT push the button "Empty the Cache" through preferences because it messes up your computer something fierce)

    I also tried the construction and export of cache:

    Screen Shot 2014-05-10 at 10.37.02 AM.png

    But I let it stand overnight and nothing happened. He remained in this form:

    Screen Shot 2014-05-10 at 10.37.10 AM.png

    I tried to download the Adobe cleaning tool (use the CC cleaning tool to solve installation problems |) CC, CS3 - CS6) but everything was remove Photoshop and Bridge of my Mac.

    Then I reinstalled the Creative Suite CS6 and I always feel the same exact problems. I've updated everything (Camera Raw is the 8.4.0.199 version), I tried to restart my computer, turn it off and wait a few hours and turning on, and I am at a loss. It also crashes.

    I'm a photographer and I have several projects I have to continue to work on, so if anyone of you could help a sister out, I would appreciate it.

    I tried to download the Adobe cleaning tool

    It seems to cache me that the central cache file is corrupted or some or al your folder files that were exported or both.

    Because you can not use it I would try to do a manual removal (unfortunately still the clean tool CC does not remove automatically of the central cache file.)

    First stop bridge.

    You have 2 libraries on your system, 1 for the system itself (visible when you click on the startup disk) and 1 for the user account which unfortunately is hidden by default by OSX 10.7). Google for library hidden in OSX for a more permanent solution, but for now, you can go to the Finder and select the menu go to reveal the menu drop down. With menu option and then press view library will be appear in the list, select it and choose the column from view mode.

    in this library user, follow the path: Caches/Adobe/Bridge CS6. Inherent are 2 files called "Cache plugin Adobe Bridge" and a folder named "Cache". Delete the two folders outside the library folder (the case if their a bit of time, but you can also place them in the trash for the moment to spare).

    In the same library is a folder called preferences. Inherent is a file called: "com.adobe.bridge5.plist" for bridge 5 version that comes with CS6. Also delete this file.

    Then run the bridge to recreate delete all as new and empty files with the settings and try if it works now.

    So the cache files in folders are problematic test a folder, use menu view / show hidden files to find and delete the two files called Bridge.Cache and Bridge.CacheT and try again. Could bring you?

  • Illustrator CS2 Bridge does not open with Illustrator CS6 installed

    I had loaded CS6 and works well but when I uninstalled a copy previously loaded to Illustrator CS2 my bridge would not launch. I tried to reload Illustrator CS6 disk but it still does not work. What can I do?

    Try to use the Creative Suite from Adobe cleaner tool
    ---------------------------------

    helps resolve installation for CS3 thru CS6 and creative cloud problems

    http://www.Adobe.com/support/contact/cscleanertool.html

  • 4960-problem error message is not resolved, what to do next?

    Download Assistant keeps saying that it is the extraction of files. No matter how many times I uninstall and reinstall download Assistant I can't download the free trial version.

    The only reason why I want the free trial version is because I bought 11 PS elements on disk, without realizing, my Mac is not a DVD player.  If I want to use my serial number to buy it online.

    Help! Or I'll have to return the drive, get my money back, Adobe loses a customer (forever, it it is not resolved) and I have no way to get Photoshop.  Also I don't want to give Apple extra money to buy a superdrive drive to read the DVD, I'm pretty disgusted, that they do not have DVD players in their new iMacs, what a con.

    Hi islandnews,

    This mistake ususally happens if the extraction of files was interrupted or the installation package is incomplete or damaged.

    Try to download it again and check.

    Please visit the doc KB to troubleshoot Download Assistant: http://kb2.adobe.com/cps/898/cpsid_89867.html

    As an alternative, try the direct download links available at: http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-cr creative - pre.html

    But make sure you follow the important instructions on the page before you start the download.

  • Could not resolve the import instructions

    Recently, I decided to start messing around with some Java3d. I tried to get a sample program to try to dissect, but I can not even past the compilation. The main problem is the fact that import declarations cannot be resolved. I thought that maybe I was using an obsolete example program, but after further inspection of the Oracle Java3d tutorials, I saw the same import declarations. I downloaded java3d 1.5.1 because I thought that maybe it has not been included in the base java classes. It has not helped me at all. So it is perhaps a problem with the IDE (eclipse) does not not recognize. However, I had no such success with Google so far. I realize that it is more than likely a horribly simple mistake that anyone on a novice understanding of Java would be able to spot. But if someone could help me understand why I can't compile it would be much appreciated.

    Kind regards
    Corey

    Import instructions that do not resolve
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.NormalGenerator;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    Complete program
    import java.awt.Color;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.NormalGenerator;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    
    // An Egyptian pyramid
    // Base divided into two triangles
    
    public class PyramidExample {
         public static void main(String[] args) {
              SimpleUniverse universe = new SimpleUniverse();
              BranchGroup group = new BranchGroup();
    
              Point3f e = new Point3f(1.0f, 0.0f, 0.0f); // east
              Point3f s = new Point3f(0.0f, 0.0f, 1.0f); // south
              Point3f w = new Point3f(-1.0f, 0.0f, 0.0f); // west
              Point3f n = new Point3f(0.0f, 0.0f, -1.0f); // north
              Point3f t = new Point3f(0.0f, 0.721f, 0.0f); // top
    
              TriangleArray pyramidGeometry = new TriangleArray(18,
                        TriangleArray.COORDINATES);
              pyramidGeometry.setCoordinate(0, e);
              pyramidGeometry.setCoordinate(1, t);
              pyramidGeometry.setCoordinate(2, s);
    
              pyramidGeometry.setCoordinate(3, s);
              pyramidGeometry.setCoordinate(4, t);
              pyramidGeometry.setCoordinate(5, w);
    
              pyramidGeometry.setCoordinate(6, w);
              pyramidGeometry.setCoordinate(7, t);
              pyramidGeometry.setCoordinate(8, n);
    
              pyramidGeometry.setCoordinate(9, n);
              pyramidGeometry.setCoordinate(10, t);
              pyramidGeometry.setCoordinate(11, e);
    
              pyramidGeometry.setCoordinate(12, e);
              pyramidGeometry.setCoordinate(13, s);
              pyramidGeometry.setCoordinate(14, w);
    
              pyramidGeometry.setCoordinate(15, w);
              pyramidGeometry.setCoordinate(16, n);
              pyramidGeometry.setCoordinate(17, e);
              GeometryInfo geometryInfo = new GeometryInfo(pyramidGeometry);
              NormalGenerator ng = new NormalGenerator();
              ng.generateNormals(geometryInfo);
    
              GeometryArray result = geometryInfo.getGeometryArray();
              
              // yellow appearance
              Appearance appearance = new Appearance();
              Color3f color = new Color3f(Color.yellow);
              Color3f black = new Color3f(0.0f, 0.0f, 0.0f);
              Color3f white = new Color3f(1.0f, 1.0f, 1.0f);
              Texture texture = new Texture2D();
              TextureAttributes texAttr = new TextureAttributes();
              texAttr.setTextureMode(TextureAttributes.MODULATE);
              texture.setBoundaryModeS(Texture.WRAP);
              texture.setBoundaryModeT(Texture.WRAP);
              texture.setBoundaryColor(new Color4f(0.0f, 1.0f, 0.0f, 0.0f));
              Material mat = new Material(color, black, color, white, 70f);
              appearance.setTextureAttributes(texAttr);
              appearance.setMaterial(mat);
              appearance.setTexture(texture);
              Shape3D shape = new Shape3D(result, appearance);
              group.addChild(shape);
    
              // above pyramid
              Vector3f viewTranslation = new Vector3f();
              viewTranslation.z = 3;
              viewTranslation.x = 0f;
              viewTranslation.y = .3f;
              Transform3D viewTransform = new Transform3D();
              viewTransform.setTranslation(viewTranslation);
              Transform3D rotation = new Transform3D();
              rotation.rotX(-Math.PI / 12.0d);
              rotation.mul(viewTransform);
              universe.getViewingPlatform().getViewPlatformTransform().setTransform(
                        rotation);
              universe.getViewingPlatform().getViewPlatformTransform().getTransform(
                        viewTransform);
              
              // lights
              BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0),
                        1000.0);
              Color3f light1Color = new Color3f(.7f, .7f, .7f);
              Vector3f light1Direction = new Vector3f(4.0f, -7.0f, -12.0f);
              DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction);
              light1.setInfluencingBounds(bounds);
              group.addChild(light1);
              Color3f ambientColor = new Color3f(.4f, .4f, .4f);
              AmbientLight ambientLightNode = new AmbientLight(ambientColor);
              ambientLightNode.setInfluencingBounds(bounds);
              group.addChild(ambientLightNode);
              
              universe.addBranchGraph(group);
         }
    }

    Hello

    -The latest 3D Java version is * 1.5.2*. Uninstall older versions.
    -Home Java 3D: http://java3d.java.net/
    -3D Java project: http://java.net/projects/java3d
    -3D Java downloads: http://java3d.java.net/binary-builds.html
    -Start with one of the examples of "j3d-examples-1_5_2 - src.zip" 3D Java
    -Use eclipse * 3.6.2 *, it should recognize the 3D Java jars if they are installed in '... \jre\lib\ext\'. See also Java3D + new Version of Eclipse-> restricted access (solution + question)

    August

Maybe you are looking for

  • A100-165 (psaa9) ethernet driver

    I installed a new version of windows, but the ethernet controller is not recognized. I downloaded the driver from the toshiba site but I can't find the model of my ethernet controller. someone who got the computer to go and tell me what's the model o

  • removal of Internet Download Manager

    I have a HP Pavilion HPE h8z. When I got a free Internet Download Manager has been installed. There is a free trial period of 30 days. Some time after the expiration of the free trial period, I deleted the program. The program is no longer listed in

  • How to fix a webcam showing the photo upside down trying to Skype?

    Original title: program compatibility Application Applications Apps game games Legacy Crash accidents Application Hang hangs How to fix a webcam showing the photo upside down trying to Skype?

  • HP mini model # 1151nr bios password

    Hello, I bought a hp mini model #1151nr of Craigslist and stupidly forgot to turn it on and check that everything was ok before my departure. When I got home n turned on so I was promped to a "current password" after hit enter 3 x then I get the erro

  • ducuments stuck in queues will not cancel or cancel all ducuments

    be a mistake of the printer. Document stuck in queue does not cancel