[JBoss Tools] - BrowserSim FAQ
by Yahor Radtsevich
Yahor Radtsevich [https://community.jboss.org/people/yradtsevich] modified the document:
"BrowserSim FAQ"
To view the document, visit: https://community.jboss.org/docs/DOC-18100
--------------------------------------------------------------
*Q: What is BrowserSim ?*
*A:* BrowserSim is a Browser Simulator which primarily is intended for having a quick, easy and multi-platform way of testing if your webapp will render and behave correctly on a mobile device.
*Q: How does BrowserSim works ?*
*A:* It wraps a webkit browser and makes it respond and send work like a mobile browser by spoofing content and media request headers.
*
Q: What do I need to run BrowserSim?*
*A:* The requirements for different platforms are as listed below:
* Windows:* Only 32-bit Eclipse/JBDS is supported;
* Apple http://www.apple.com/quicktime/download/ QuickTime or http://www.apple.com/itunes/download/ iTunes must be installed (they contain Apple Application Support which provides WebKit engine for BrowserSim).
* Linux:* WebKitGTK 1.2.0 or newer must be installed and available in the library load path.
* This should be available on RHEL and Ubuntu by default, if not use your package manager to install libwebkitgtk
* Mac OS X* It just works.
*Q: How to add BrowserSim to the toolbar?*
*A:* Go to Window → Customize Perspective and select "BrowserSim" under "Command Groups Availability". Then it becomes available in the global toolbar via the "phone" icon:
https://community.jboss.org/servlet/JiveServlet/showImage/102-18100-10-18... https://community.jboss.org/servlet/JiveServlet/downloadImage/102-18100-1...
*Q: Can I use the browser as a replacement for testing on a real phone or emulator?*
*A:* Browsersim make it easy to test basic layout questions/issues on any platform without having to install a platform specifc emulator or manually try use a phone.
That said it is not 100% reliable since there are so many different brands/versions of phones there will be differences in behavior, thus no, BrowserSim does not replace real or emulated phone testing.
For full verfication/testing you should test on a real phone.
*Q: BrowserSim shows an error message saying that JRE 7 is not supported on Windows and does not run (with JBoss Tools 3.4.0.Alpha1 and above).*
*A:* There is an incompatibility between some versions of JRE 7 and BrowserSim on Windows. To workaround this, please do the following:
1. Install JRE/JDK 6 or JDK 7 (but not JRE 7).
2. Add the next lines at the beginning of your eclipse.ini or jbdevstudio.ini:
-vm
PATH_TO_JAVA_INSTALLATION_DIRECTORY\bin\javaw.exe
*Q: BrowserSim shows the *"No more handles [Failed to load the swt-webkit library]"* error message and does not run (with JBoss Tools 3.3.0.GA and below).*
*A:* There is an incompatibility between some versions of JRE/JDK 7 and BrowserSim on Windows. To workaround this, please do the following:
1. Install JRE/JDK 6 (but not JRE/JDK 7).
2. Add the next lines at the beginning of your eclipse.ini or jbdevstudio.ini:
-vm
PATH_TO_JAVA_INSTALLATION_DIRECTORY\bin\javaw.exe
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18100]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
13 years, 7 months
Delivery reports about your e-mail
by Automatic Email Delivery Software
The message was not delivered due to the following reason(s):
Your message was not delivered because the destination server was
unreachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.
Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.
Your message was not delivered within 7 days:
Host 207.204.111.159 is not responding.
The following recipients could not receive this message:
<jboss-user(a)lists.jboss.org>
Please reply to postmaster(a)lists.jboss.org
if you feel this message to be in error.
13 years, 7 months
[JBoss Tools] - jboss tools hibernate is getting error while installing @ eclipse indigo sr2
by vjosh
vjosh [https://community.jboss.org/people/vjosh] created the discussion
"jboss tools hibernate is getting error while installing @ eclipse indigo sr2"
To view the discussion, visit: https://community.jboss.org/message/758025#758025
--------------------------------------------------------------
i have download eclipse-jee-indigo-SR2-win32 from eclipse.org.
then i followe the instructions on the given link http://www.jboss.org/tools/download/installation/update_3_3 http://www.jboss.org/tools/download/installation/update_3_3
there is a instruction to install it via eclipse marketplace or via http://download.jboss.org/jbosstools/updates/development/indigo/ http://download.jboss.org/jbosstools/updates/development/indigo/ this update site url.
but while installing the hibernate plugin of jboss tools it is giving me error irrespective of the way mentioned above.
even i tried url given below
http://download.jboss.org/jbosstools/updates/stable/indigo http://download.jboss.org/jbosstools/updates/stable/indigo but still the same result
the error is given below
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.hibernate.eclipse.console,3.5.1.v20120715-0252-H98-Final.
MD5 hash is not as expected. Expected: 2b8a871d38aeb31ca6cab8dc99111be4 and found f41b048b4096cc37861345db0af869d0.
Problems downloading artifact: osgi.bundle,org.hibernate.eclipse.libs,3.5.1.v20120715-0252-H98-Final.
MD5 hash is not as expected. Expected: a309dd0dd94745c134bb9642390ac8ce and found 32088742fff821725e541b31c08acf20.
Problems downloading artifact: osgi.bundle,org.jboss.tools.hibernate4_0,3.5.1.v20120715-0252-H98-Final.
MD5 hash is not as expected. Expected: b80c07dc002685655bbb0763374b6a12 and found fdcfb2555a56ee14df91e753bf848690.
i want to install hibernate plug-in for the development work on priority basis.
*could some please shed some light as to why this error has come ?*
is there a problem with jdk, eclipse or jboss url ?
i am using jdk 6 update34
can somebody guide me as to where is the issue here?
reply is awaited on ASAP basis.
Thanks In Advance...........
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758025#758025]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 7 months
[JBoss Tools] - BrowserSim FAQ
by Yahor Radtsevich
Yahor Radtsevich [https://community.jboss.org/people/yradtsevich] modified the document:
"BrowserSim FAQ"
To view the document, visit: https://community.jboss.org/docs/DOC-18100
--------------------------------------------------------------
*Q: What is BrowserSim ?*
*A:* BrowserSim is a Browser Simulator which primarily is intended for having a quick, easy and multi-platform way of testing if your webapp will render and behave correctly on a mobile device.
*Q: How does BrowserSim works ?*
*A:* It wraps a webkit browser and makes it respond and send work like a mobile browser by spoofing content and media request headers.
*
Q: What do I need to run BrowserSim?*
*A:* The requirements for different platforms are as listed below:
* Windows:* Only 32-bit Eclipse/JBDS is supported;
* Apple http://www.apple.com/quicktime/download/ QuickTime or http://www.apple.com/itunes/download/ iTunes must be installed (they contain Apple Application Support which provides WebKit engine for BrowserSim).
* Linux:* WebKitGTK 1.2.0 or newer must be installed and available in the library load path.
* This should be available on RHEL and Ubuntu by default, if not use your package manager to install libwebkitgtk
* Mac OS X* It just works.
*Q: How to add BrowserSim to the toolbar?*
*A:* Go to Window → Customize Perspective and select "BrowserSim" under "Command Groups Availability". Then it becomes available in the global toolbar via the "phone" icon:
https://community.jboss.org/servlet/JiveServlet/showImage/102-18100-6-187... https://community.jboss.org/servlet/JiveServlet/downloadImage/102-18100-6...
*Q: Can I use the browser as a replacement for testing on a real phone or emulator?*
*A:* Browsersim make it easy to test basic layout questions/issues on any platform without having to install a platform specifc emulator or manually try use a phone.
That said it is not 100% reliable since there are so many different brands/versions of phones there will be differences in behavior, thus no, BrowserSim does not replace real or emulated phone testing.
For full verfication/testing you should test on a real phone.
*Q: BrowserSim shows an error message saying that JRE 7 is not supported on Windows and does not run (with JBoss Tools 3.4.0.M1 and above).*
*A:* There is an incompatibility between some versions of JRE 7 and BrowserSim. To workaround this, please do the following:
1. Install JRE/JDK 6 or JDK 7 (but not JRE 7).
2. Add the next lines at the beginning of your eclipse.ini or jbdevstudio.ini:
-vm
PATH_TO_JAVA_INSTALLATION_DIRECTORY\bin\javaw.exe
*Q: BrowserSim shows the *"No more handles [Failed to load the swt-webkit library]"* error message and does not run (with JBoss Tools 3.3.0.GA and below).*
1. Install JRE/JDK 6 (but not JRE/JDK 7).
2. Add the next lines at the beginning of your eclipse.ini or jbdevstudio.ini:
-vm
PATH_TO_JAVA_INSTALLATION_DIRECTORY\bin\javaw.exe
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18100]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
13 years, 7 months
[jBPM] - Failing to get task content on jBPM 5.5.0-SNAPSHOT
by Elton Plath
Elton Plath [https://community.jboss.org/people/eplath007] created the discussion
"Failing to get task content on jBPM 5.5.0-SNAPSHOT"
To view the discussion, visit: https://community.jboss.org/message/758021#758021
--------------------------------------------------------------
Hi all,
I upgraded to the latest snapshot but I am now getting an OptionalDataException reading in the content stream (this was working on 5.4.0-Final):
java.io.OptionalDataException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1339)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
The way I am getting the content is as follows:
task = getTask(task.getId());
BlockingGetContentResponseHandler responseHandler = new BlockingGetContentResponseHandler();
client.getContent(task.getTaskData().getDocumentContentId(), responseHandler);
Content content = responseHandler.getContent();
byte[] byteContent = content.getContent();
ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteContent);
ObjectInputStream ois = new ObjectInputStream(byteArrayInputStream);
while ((obj = ois.readObject()) != null) {
I am setting up my task client as follows:
clientConnector = new HornetQTaskClientConnector("HornetQ_BpmTaskClient_" + Thread.currentThread().getName(),
new HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener()));
client = new TaskClient(clientConnector);
Please can you help
Regards
Elton
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/758021#758021]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 7 months