w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
JSF 2 eclipse and JBOSS Dev studio + JBOSS tool, how to create a .xhtml file?
i think you should first install JBoss tools to be able to use JSF in your project Install Jboss Tools in Eclipse then from your eclipse create new web project and from configuration choose Java server faces v2 Project.

Categories : Eclipse

New missing/unsatisfied dependencies: service jboss.jdbc-driver.com_mysql (missing) dependents: [service jboss.data-source.java:jboss/MyDB]
Your module.xml should be like this: <module xmlns="urn:jboss:module:1.0" name="com.mysql" slot="main"> <resources> <resource-root path="mysql-connector-java-5.1.24-bin.jar"/> </resources> <dependencies> <module name="javax.api"/> </dependencies> </module> And make sure you have mysql-connector-java-5.1.24-bin.jar and mysql-connector-java-5.1.24-bin.jar.index in same folder where you have module.xml.

Categories : Java

What I need to install for getting java pattern wizard on eclipse?
It used to be included in CodePro, but the current version (CodePro Analytix) doesn't have this feature any more.

Categories : Eclipse

Eclipse for Java EE can't install and remove plugins
If you are unable uninstall plugin by any then the best way to delete a plugin is delete the plugin folder. You can find folder of specific plugin by: Go to "Help - About Elcipse Platform - Plug-in Details" and search for the Plug-in Id for the plugin you want to delete. After this search in eclipse/plugin/ folder named that Id and delete that folder. Normally plugins can be delete by going to Help > About Eclipse SDK > installation details and then uninstall that plugin. Hope this help you.

Categories : Eclipse

Temporarily inlay text in Eclipse CEditor
I have solved this. It can be done by treating the editor as a styledText area. With this other controls can be added to the styledText area. I just added a label with my text. Since the label is not part of the actual file it does not get saved with the file. Upon close of the file in the editor the label is disposed and the underlying file is left unmodified by the addition of the label.

Categories : Eclipse

jBOSS+ ESAPI java.lang.ClassCastException: org.jboss.logmanager.log4j.BridgeLogger cannot be cast to org.owasp.esapi.Logger
Have you tried this exclusion: <jboss-deployment-structure> <deployment> <!-- Exclusions allow you to prevent the server from automatically adding some dependencies --> <exclusions> <module name="org.apache.log4j" /> </exclusions> </deployment> </jboss-deployment-structure> I just found that on this site. The suggestion is not verified there whether it works, but you can give it a try. Edit: Another way to exclude log4j is to make it at maven having: <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> for the maven dependency of esapi. Could that make the desired effect? (I saw that you have it at dependency tree, and I

Categories : Java

Can't install plugin in eclipse due to dependency on bundle org.eclipse.core.runtime 3.8.0
I solved this by simply modifying the name that I had entered for the plugin that I was installing. In the name text field option available after clicking add new on help > Install new software, make sure the name you provide is one word(could include underscores) without any spaces in it.

Categories : Android

Eclipse Jboss processess
Since you are using Maven, you could use the Maven JBoss Deployment plugin. This would make the entire process automated. Sometimes the Eclipse integration doesn't work like you expect it to. Additionally, you should see on the JBoss command line console from where you started JBoss, that the old war is undeployed and deployed.

Categories : Eclipse

Eclipse Remote debugging with jboss
What you are asking is not specific to either Java EE or JBoss 4.x - you can debug any Java process in case you specified the remote debugging runtime parameters when starting the JVM. In your setting the -Xdebug parameter is missing, so your line would be: JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" Now it should be able to connect, in case you are using the correct host and your specified port 8787. In case it's still not working, it's most likely a firewall issue blocking the port.

Categories : Java

Eclipse: How to install uml2 Tools SDK in Eclipse 4.3 (kepler)?
Just installed this today.... Help -> Install New Software Work With: --All Available Sites-- Expand 'Modeling' branch in the tree. Select 'UML2 Extender SDK' Then hit the Next button to install....

Categories : Eclipse

Add JBoss 7 server in domain mode to Eclipse
Not Supported Currently. Sources: JBoss Community Post & JBoss Issue JBIDE-12161

Categories : Java

Eclipse -> Glassfish won't incrementally deploy - JBOSS does
Got it! The Server Adapters / Connectors have a Publishing configuration found by double-clicking on the Adapter listed under the Servers tab. This needs to be set to 'Automatically publish when resources change' to see the changes immediately (See footnote). If its set to Never Publish Automatically then a full-manual redeploy needs to be done. Each and every time :( Every server adapter that I know has such a configuration. footnote - Glassfish and all App Servers have an option to dynamically reload applications - this needs to be enabled and you can set the reload poll interval. This can be found on Glassfish by going to admin (http://localhost:4848 by default) > Domain > Application Configuration

Categories : Eclipse

JBoss 5.1 Won't Start Using Eclipse Indigo on Windows 8
I was having this same issue in Eclipse Indigo on Windows 7... I didn't feel like I changed anything significant, but I followed these steps and it worked: Originally I installed the JBoss Tools plugin through the Eclipse Marketplace, but I reinstalled it via the "Install New Software" option with this repository URL: http://www.jboss.org/tools/download/stable/3_3_Final.html I created a new server, selected JBoss AS 5.1, next to Server Runtime I clicked Add. Chose the directory, and select "web" under configuration. Finish with default settings, do not add any projects yet. This is not related to the server starting, but Eclipse would not deploy anything without doing this: double click the server, open the Deployment tab on the bottom, click "Use JBoss deploy folder" option, save change

Categories : Eclipse

Jsp Project not updating in eclipse using Jboss Server 5.0?
Usually this happens as the browser you test your page with caches the web page. It happened to me too a few times and I fixed it with restarting the web browser, please try it and tell me if it did the trick.

Categories : Java

Remote debug JBoss AS 7.1 from Eclipse Indigo
You will need to start JBoss with a few extra options to the JVM. You can set these either in standalone.xml, or via the JAVA_OPTS environment variable. The options look basically the same, but for this post I will use JAVA_OPTS. Read this post from the JBoss Community forum if you want to use standalone.xml to configure the JVM parameters. Add this line to your existing JAVA_OPTS: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n The port number (8787) above must match your Eclipse setup (see below). Finally, you will need to tell Eclipse how to connect to the remote process. In Eclipse, click the Debug button’s drop-down arrow and select “Debug Configurations”. In that dialog, navigate to “Remote Java Application” and click the “New” but

Categories : Eclipse

Running helloworld-rs from JBoss quickstarts in eclipse
I went to the 'jboss-as-7.1.1.Finalstandalonedeployments' folder, deleted all the deployed war files. Then in Eclipse, right-click on servers -> clean . Then, I started the JBoss server and everything went fine.

Categories : Eclipse

Configure: JRebel + External JBoss + Eclipse + Ant based deployment
rebel.xml should end up in WEB-INF/classes of your application. If you have dependencies in WEB-INF/lib folder, then every archive should have its own dedicated rebel.xml configuration file. See the doc If you deploy using Eclipse WTP, then it is fine to put it into source folder. But if you are using Ant to build the WAR, then you have to make sure that your Ant script will detect rebel.xml and copy it to the correct location. The paths in the rebel.xml should point to the folder where the compiled classes are, i.e. the location where your IDE compiles these classes to.

Categories : Java

How to make Hibernate, JBoss and Eclipse work together in unit tests?
Why isn't the persistence.xml file being picked up? Because the path to load it is wrong. It should be System.class.getResource("/META-INF/persistence.xml") Without the leading slash, the path is interpreted as relative to the package of the System class. With the leading slash, it starts at the root of the classpath. Regarding the other questions, I don't know. But I don't see why anything should be "automatically" added to the build path. If you need a jar in the build path, add it to the build path. I don't see why that would be a problem.

Categories : Java

How can we temporarily disable the desktop wallpaper to black screen using Java
Try the JAWC framework It is a Plugin-Based Wallpaper Changer and can change your desktop background picture from a lot of different sources like your PC's folders, or Flickr, or VladStudio, just depending on which plugins you enable

Categories : Java

How to install XULRunner for Eclipse
SWT is not supporting 'latest' XULRunner. See Bug 327696 – [Browser] implement support for xulrunner >= 4.0 See also The SWT FAQ, Q: How do I specify the default type of native renderer that is used by the Browser? or Q: How do I explicitly use Mozilla as the Browser's underlying renderer? or so. For example, Download the last one which is available on eclipse from http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/10.0.4esr/sdk/ Extract it to C: Edit your app's Run Configuration->Arguments->VM Arguments, add following argument. -Dorg.eclipse.swt.browser.XULRunnerPath=C:xulrunner

Categories : Java

Install ADT plugin in Eclipse
Why don't you use the normal mode to install it? Start Eclipse, then select Help > Install New Software. Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/ Click OK and go on :) All the instruction can be found in the guide Installing the Eclipse Plugin

Categories : Android

Unable to install eclipse on 12.10
Simple: Don't install Eclipse using a package manager. Just download the tar.gz archive from eclipse.org and unpack it anywhere. 3.8.2 is here. Some background: Eclipse comes with its own package manager (p2). P2 doesn't like when someone else messes with its world. Linux package manager try to modify the p2 config files in such a way that p2 doesn't notice but eventually, this fails. Word of advice: You can now install plugins using the help menu. Every time you install a new plugin, make a backup of the Eclipse folder and your workspace. P2 has some very ugly bugs and when it gets into a "I don't wanna work anymore" state, it's next to impossible to heal it. Keep those backups in a safe place. You will eventually need them. And yes, I imply that you will need the 5th last backup event

Categories : Java

How to install the Xpand in Eclipse?
I don't know why the installation is getting stuck at 29%. It may be a firewall/proxy problem on your end, or it may be corrupt metadata in the archive. It's worth following up on the xpand mailing list or forum. But, if you want to install it, you can unzip the archive into your dropins folder inside of your eclipse. This will work unless xpand requires any third party jars.

Categories : Eclipse

Install Eclipse without any Features
You still can uninstall the plugins you don't want this way : Menu > Help > About eclipse SDK > Installation details Install software tab Select the plugin you don't want Uninstall button

Categories : Eclipse

How to resolve org.jboss.ws.WSException: Policy not supported in JBoss AS 4.2.?
Looks like your bindings were created using Metro, try using Metro (and not JBossWS-Native) to get them running. Create the file META-INF/services/javax.xml.ws.spi.Provider and add the following text in it: com.sun.xml.ws.spi.ProviderImpl this should force JBoss to use Metro as the WS implementation

Categories : Java

PyDev fails to install on Eclipse for Mac
I think I just solved the problem. I tried to install PyDev, got a long way through to a dialog with a progress bar that seemed to be about the last step. A dialog box asking me to approve a certificate popped up behind the progress-bar dialog, when it was about half-way along. I clicked OK and both dialogs immediately disappeared. PyDev was not installed. I did it again, but this time looked at the certificate dialog. You have to tick the certificate, and then click OK. Installation continued. Now I have PyDev. YMMV, good luck.

Categories : Eclipse

Cannot install Cobertura plugin for Eclipse
I was able to get eCobertura to install by copying over the junit plugin subdirectories from a previous version of Eclipse into my plugins/ directory, then restarting Eclipse. The junit version that came with my Eclipse (Spring Toolsuite v3.3) was org.junit_4.11.0.v201303080030. This is that one that caused eCobertura install to fail. The two versions that I copied over from STS 3.2 were org.junit4_4.8.1.v20120523-1257 and org.junit_4.10.0.v4_10_0_v20120426-0900.

Categories : Eclipse

How to install the JSystem plugin for Eclipse
Actually, the Eclipse plugin is no longer part of the JSystem installation. If you still want to use it, you can grab one of the older installation packages from SourceForge (Version 5.7.02 would do the trick). If are having problems with the Linux installation, you can install it on windows and copy manually the com.ignis.eclipse.plugin_5.7.02 jar from the jsystem/runner/Eclipse folder to the Eclipse plugins folder. After restarting the Eclipse, you would be able to create a new JSystem project using the plugin. One of the main reasons that the plugin is no longer provided and supported is that JSystem is now using Maven and most of the plugin functionality is now done via Maven archetypes. To learn more about it please refer to the Getting started guide

Categories : Eclipse

How do I determine the Java EE version of JBoss AS 7.1
I'm using JBoss AS7.1 and I need to determine the Java EE version that is provided. I'm pretty sure that it is Java EE 6. But how can I determine the version number Just read the release notes of server in question. Here's the JBoss AS 7.1 release notes. and how can I switch to Java EE 7 which is released since May 2013? By replacing JBoss AS 7.1 by another make/version which implements Java EE 7. So far, JBoss AS has no production-ready Java EE 7 compatible server. JBoss AS 8 (Wildfly) is still in alpha stage. As of now, GlassFish 4 is the only "production-ready" server which implements Java EE 7. In quotes, because I find it rather buggy. Better wait for 4.0.1 (if it ever comes out) or a 4.1.

Categories : Java

clean JBoss 7 tmp using java code
I guess you need to get the file structure like this and have to clean/delete internal files in that temp folder. JBoss AS 7: How to clean up tmp? But please read the recommendation there.

Categories : Java

memory used by JBoss using java code
Jboss server offers its system information such as memory usage through JMX. The jboss.system:type=ServerInfo MBean provides several attributes that can be used to monitor the thread and memory usage in a JBoss instance. Learn more about the JBoss JMX interfaces and MBeans: http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/Additional_Services-Memory_and_Thread_Monitoring.html

Categories : Java

Java webservice not working with Jdk 6 and Jboss 5.x
Don't put jaxb/jaxws jars in the endorsed directory - they should already be included in the JBoss container. What has likely happened is that the jaxb-api jar you put in the endorsed directory is a different version of jaxb from the jaxb-impl jar within JBoss.

Categories : Web Services

Can't install maven plugin for eclipse on Ubuntu 12.04
Try setting the option "Contact all updates sites..." in the Installation Manger and make sure that the download site for Indigo (http://download.eclipse.org/releases/indigo) is checked. This should be the updatesite containing your m2e Installation anyway, since the downloadsite you used contains the LATEST maven built, which is not 3.7.2 . If you want to use a newer Eclipse, use KEpler with the updatesite http://download.eclipse.org/releases/kepler. If that doesn't work, please post the new error.

Categories : Eclipse

Install Gradle plugin for Eclipse Indigo
Is the given URL reachable for you? (It is for me.) Anyway, another way to install the plugin is to follow the instructions on its GitHub page.

Categories : Eclipse

Groovy Compiler 1.7 - how to install it? eclipse indigo
It's been a while since i last saw 1.7 in the plugin. I guess it got outdated and removed. This page (near the bottom) tells that Groovy 1.7 is deprecated for GGTS (which, i guess, uses Groovy-eclipse): Deprecating of Groovy 1.7 support The Groovy 1.7 support in GGTS has been deprecated. It is still possible to install it for this release, but it will be removed in future releases. If you need to install the Groovy 1.7 compiler, then: Go to Help -> Install new software Choose the Springsource update site to work with Uncheck Group items by category, As shown in the image: Is that doesn't work, maybe you can try to install an older version of Groovy-eclipse from http://dist.springsource.org/.

Categories : Eclipse

LuaSocket in Windows - How to install and use it in an Eclipse Project
First error looks like you are running in Linux?? Have you successfully installed LuaSockets? Its written in C so you need a compiler to install it. That can be found in Microsoft developer tools. You can also use cygwin. Alternatively if you have mingw installed you can first download: https://github.com/pkulchenko/ZeroBraneStudio/blob/master/build/build-win32.sh Then you can run: bash ./build-win32.sh lua luasocket

Categories : Eclipse

eclipse - how to access or install an xml "aware" editor
Eclipse SDK is a legacy package primarily used by developers working on Eclipse or Eclipse Plugins. It doesn't include much beyond Java Development Tools and Plugin Development Environment. XML Tools are not included in that package. You will find a smoother path if you start with one of the higher-level packages. http://www.eclipse.org/downloads/ Having said that, you can add XML Tools into your existing Kepler installation by using the following online plugins repository. http://download.eclipse.org/releases/kepler/ Use the above URL in the install additional software wizard that you will find under your Help menu. Once you see the repository listing, just search for XML.

Categories : Xml

No repository found in Crashlytics install for eclipse
That looks like you may not have ADT installed. But if you do (that was my case), you can try unchecking the box in the attached screenshot and it works perfectly.

Categories : Android

How to manually install JAutodoc in eclipse kepler?
Follow these steps for Installation: Download jautodoc_1.11.0.zip file from : http://jautodoc.sourceforge.net/index.html#download Unzip the jautodoc_1.11.0.zip file from the eclipse folder. Verify the following files get copied: Plugin folder : net.sf.jautodoc.velocity_1.11.0.jar net.sf.jautodoc_1.11.0.jar Features folder : net.sf.jautodoc.feature_1.11.0 Restart eclipse. The JAutodoc feature should be available in Windows --> Preferences Usage : Select the whole file or method or attribute --> Rightclick --> Add Javadoc Visit the following link for further info : http://www.roseindia.net/IDE/Eclipse/jautodoc-plugin.shtml

Categories : Misc

How to install an open source library to Eclipse?
Better make a jar if they don't provide one, but usually you will find a jar to download. To compile yours: http://docs.oracle.com/javase/tutorial/deployment/jar/ After you can link source to jar for debugging it.

Categories : Java



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.