Coder Social home page Coder Social logo

javaee / glassfish-samples Goto Github PK

View Code? Open in Web Editor NEW
89.0 89.0 73.0 135.85 MB

GlassFish samples has been migrated to Eclipse Foundation https://github.com/eclipse-ee4j/glassfish-samples

Home Page: https://javaee.github.io/glassfish-samples/

License: Other

Java 45.64% Perl 2.52% HTML 40.99% JavaScript 6.64% CSS 3.97% XSLT 0.04% Shell 0.04% TSQL 0.16%

glassfish-samples's People

Contributors

alai8 avatar amyroh avatar anissalam avatar arjav-desai avatar debayan-gupta avatar delabassee avatar edbratt avatar gh4mfitch avatar glassfishrobot avatar jjsnyder avatar jruzzi avatar manfredriem avatar pavelbucek avatar pranjal10 avatar rlubke avatar romain-grecourt avatar shingwaichan avatar sivakumart avatar ssevozen avatar verdent avatar vinayvishal avatar yaminikb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glassfish-samples's Issues

security samples do not use v3

The projects open, but are targeted to GlassFish v2.1, by default... so they
won't run.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

"Asynchronous Request" example failed to compile

The issue is originally in NB IZ tracker :
http://www.netbeans.org/issues/show_bug.cgi?id=175397

The problem with AsyncRequest sample concerns update of Servlet 3.0 spec.
Current state of source code sample doesn't conform to latest ( b70 ) glassfish
implementation. I suppose Glassfish is updated with latest changes of Servlet
3.0 spec but this sample is not.
As result there are several compilation errors.

Environment

Operating System: All
Platform: All

Affected Versions

[javaee5]

Can't deploy application if admin server is run in secure mode

If the admin server is started in secure mode there is no way to deployed an
application to the appserver.

The glassfish-samples infrastructure needs to add a flag to the build.properties
file to indicate whether the --secure option has to be added to the asadmin
commands or not.

Environment

Operating System: All
Platform: All

Affected Versions

[javaee7]

checked in binary files

This should be filed as version=javaee6, subcomponent=connector.

there are binary file in the cvs repository. These should be removed and the
problems that removal causes should be addressed a different way.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee7]

Missing data for issue tracker

new version: javaee6
new subcomponents: connectors, ejb, jpa, rest, security, web, webbeans

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

NullPointerException at runtime of the MessageBoardWar sample

Steps to reproduce:
1. Checkout the glassfish-samples.
2. CD to glassfish-samples/ws/javaee6/rest/message-board-war
3. Edit/Set the properties in ../../../bp-project/build.properties
4. asadmin start-domain domain1
5. asadmin start-database
6. ant run
7. The application get deployed as expected

Expected behavior:
The page at http://localhost:8080/message-board-war/ gets loaded in a browser
window. All the messages should be seen in the page on load, or when the "list
all messages" button is clicked.

Current behavior:
The page gets loaded, but shows a 500 Error in the div which is supposed to
list the messages. The server log shows the following exception:

[#|2009-04-29T11:51:55.856+0530|SEVERE|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=20;_ThreadName=Thread-1;|StandardWrapperValve[Jersey
Web Application]: PWC1406: Servlet.service() for servlet Jersey Web Application
threw exception
java.lang.NullPointerException

at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:87)

at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)

at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:71)

at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:111)

at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:63)

at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:555)

at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:514)

at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:505)

at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:359)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1461)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:293)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:187)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:656)

at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)

at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)

at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:351)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:249)

at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:196)

at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:740)

at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:631)

at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:900)

at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162)

at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)

at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)

at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)

at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)

at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)

at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)

at com.sun.grizzly.ContextTask.run(ContextTask.java:69)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at java.lang.Thread.run(Thread.java:619)

#]

Environment

Operating System: All
Platform: All

Affected Versions

[javaee5]

Make use of CRUD sample from Adam Bien

Server: GF v3 b22
IDE: Netbeans 6.5

Purpose: Sample application with page flow (create, list), EJB 3.1 DI into
backing bean with no-interface view and JPA usage.

MailConnector Resource Adapter error

Perhaps it is not evident from the doc., after doing 'ant all', creating
outbound message unable to access inbound message. I get the following error.

Mailbox: joe-Inbox@localhost
ERROR when attempting to open this mailbox: joe-Inbox@localhost
Error in allocating a connection. Cause: Connection refused
Review the values you entered and try again.

I tried giving all forms of values for host name, still it fails.

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

ejb31-war project will not clean, will build

see https://glassfish.dev.java.net/issues/show_bug.cgi?id=11600
reported last feb 25, 2010; the fix is also in this report.

just tested latest samples – svn checked out 2,3 days ago; with
netbeans 6.9.1, and gfv3.1b24;

this report concerns build issues – not running – have not run yet.

gary

copied from that report:

project ejb31-war will not clean – so clean, clean, build fail; build
works;

the error is

do-clean:
Deleting directory G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\build
Deleting directory G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\dist
check-clean:
G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\build.xml:22: antcall
task calling a target that depends on its parent target '-post-clean'.
BUILD FAILED (total time: 0 seconds)
------- Additional comments from emiddio Fri Feb 26 00:49:50 +0000 2010 -------

issue with clean or clean,build with project ejb31-war was fixed by
editing build.xml -post-clean target;

changed to

seems to work; do not know if it can somehow break something ???

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

add jdk dependency info into the projects

currently most of the projects can compile with jdk 5 and/or jdk 6.... but some
are jdk 6 only.

If the projects can be set-up so NB will flag the jdk requirement... instead of
having random syntax errors... that would be a good thing.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

JSF scrumtoys sample does not compile

Moving samples bug originally logged in mojarra:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1114

build: SDK b03b 05-08-2009

The scrumtoys sample does not compile:

bpp-actual-compilation:
[echo] Compiling scrumtoys
[echo] Classpath $

{classpath}

[javac] Compiling 13 source files to C:\glassfishv3\glassfish\samples\javaee
6\web\jsf\scrumtoys\build\classes
[javac] C:\glassfishv3\glassfish\samples\javaee6\web\jsf\scrumtoys\src\java
jsf2\demo\scrum\web\controller\AbstractManager.java:103: cannot find symbol
[javac] symbol : method publishEvent(java.lang.Class<capture#500 of ? exten
ds javax.faces.event.SystemEvent>,java.lang.Object)
[javac] location: class javax.faces.application.Application
[javac] FacesContext.getCurrentInstance().getApplication().publi
shEvent(eventClass, source);
[javac] ^

BUILD FAILED
C:\glassfishv3\glassfish\samples\bp-project\command-line-ant-tasks.xml:82: Compi
le failed; see the compiler error output for details.

Here is the complete classpath for reference:

[echo] Classpath C:\glassfishv3\glassfish\samples\javaee6\web\jsf\scrumtoys
\build\classes;C:\glassfishv3\htmlunit.jar;C:\glassfishv3\glassfish\samples\java
ee6\web\jsf\scrumtoys$

{extra.classpath}

;C:\glassfishv3\glassfish\modules\acc-co
nfig.jar;C:\glassfishv3\glassfish\modules\admin-cli.jar;C:\glassfishv3\glassfish
\modules\admin-core.jar;C:\glassfishv3\glassfish\modules\admin-util.jar;C:\glass
fishv3\glassfish\modules\amx-api.jar;C:\glassfishv3\glassfish\modules\amx-config
-impl.jar;C:\glassfishv3\glassfish\modules\amx-config.jar;C:\glassfishv3\glassfi
sh\modules\amx-core-impl.jar;C:\glassfishv3\glassfish\modules\amx-core.jar;C:\gl
assfishv3\glassfish\modules\amx-ext-impl.jar;C:\glassfishv3\glassfish\modules\am
x-impl.jar;C:\glassfishv3\glassfish\modules\amx-j2ee-impl.jar;C:\glassfishv3\gla
ssfish\modules\amx-j2ee.jar;C:\glassfishv3\glassfish\modules\annotation-framewor
k.jar;C:\glassfishv3\glassfish\modules\ant.jar;C:\glassfishv3\glassfish\modules
antlr-repackaged.jar;C:\glassfishv3\glassfish\modules\apache-commons.jar;C:\glas
sfishv3\glassfish\modules\api-exporter.jar;C:\glassfishv3\glassfish\modules\appc
lient-connector.jar;C:\glassfishv3\glassfish\modules\appclient-server-core.jar;C
:\glassfishv3\glassfish\modules\appclient.security.jar;C:\glassfishv3\glassfish
modules\asm-all-repackaged.jar;C:\glassfishv3\glassfish\modules\auto-depends.jar
;C:\glassfishv3\glassfish\modules\bean-validator.jar;C:\glassfishv3\glassfish\mo
dules\branding-fragment.jar;C:\glassfishv3\glassfish\modules\branding.jar;C:\gla
ssfishv3\glassfish\modules\cli-framework.jar;C:\glassfishv3\glassfish\modules\cl
i-optional.jar;C:\glassfishv3\glassfish\modules\cmp-ejb-mapping.jar;C:\glassfish
v3\glassfish\modules\cmp-enhancer.jar;C:\glassfishv3\glassfish\modules\cmp-gener
ator-database.jar;C:\glassfishv3\glassfish\modules\cmp-model.jar;C:\glassfishv3
glassfish\modules\cmp-support-ejb.jar;C:\glassfishv3\glassfish\modules\cmp-suppo
rt-sqlstore.jar;C:\glassfishv3\glassfish\modules\cmp-utility.jar;C:\glassfishv3
glassfish\modules\common-util.jar;C:\glassfishv3\glassfish\modules\commons-codec
-repackaged.jar;C:\glassfishv3\glassfish\modules\commons-fileupload.jar;C:\glass
fishv3\glassfish\modules\commons-io.jar;C:\glassfishv3\glassfish\modules\config-
api.jar;C:\glassfishv3\glassfish\modules\config.jar;C:\glassfishv3\glassfish\mod
ules\connectors-admin.jar;C:\glassfishv3\glassfish\modules\connectors-inbound-ru
ntime.jar;C:\glassfishv3\glassfish\modules\connectors-internal-api.jar;C:\glassf
ishv3\glassfish\modules\connectors-runtime.jar;C:\glassfishv3\glassfish\modules
console-common.jar;C:\glassfishv3\glassfish\modules\console-community-branding-p
lugin.jar;C:\glassfishv3\glassfish\modules\console-core.jar;C:\glassfishv3\glass
fish\modules\console-custom-branding-plugin.jar;C:\glassfishv3\glassfish\modules
\console-jdbc-plugin.jar;C:\glassfishv3\glassfish\modules\console-plugin-service
.jar;C:\glassfishv3\glassfish\modules\console-security-plugin.jar;C:\glassfishv3
\glassfish\modules\console-updatecenter-plugin.jar;C:\glassfishv3\glassfish\modu
les\console-web-plugin.jar;C:\glassfishv3\glassfish\modules\container-common.jar
;C:\glassfishv3\glassfish\modules\dataprovider.jar;C:\glassfishv3\glassfish\modu
les\dbschema-repackaged.jar;C:\glassfishv3\glassfish\modules\deployment-admin.ja
r;C:\glassfishv3\glassfish\modules\deployment-autodeploy.jar;C:\glassfishv3\glas
sfish\modules\deployment-client.jar;C:\glassfishv3\glassfish\modules\deployment-
common.jar;C:\glassfishv3\glassfish\modules\deployment-javaee-core.jar;C:\glassf
ishv3\glassfish\modules\deployment-javaee-full.jar;C:\glassfishv3\glassfish\modu
les\dol.jar;C:\glassfishv3\glassfish\modules\ejb-container.jar;C:\glassfishv3\gl
assfish\modules\ejb-internal-api.jar;C:\glassfishv3\glassfish\modules\ejb.securi
ty.jar;C:\glassfishv3\glassfish\modules\el-impl.jar;C:\glassfishv3\glassfish\mod
ules\flashlight-agent.jar;C:\glassfishv3\glassfish\modules\flashlight-framework.
jar;C:\glassfishv3\glassfish\modules\gf-client-module.jar;C:\glassfishv3\glassfi
sh\modules\gf-client.jar;C:\glassfishv3\glassfish\modules\gf-connectors-connecto
r.jar;C:\glassfishv3\glassfish\modules\gf-ejb-connector.jar;C:\glassfishv3\glass
fish\modules\gf-jruby-connector.jar;C:\glassfishv3\glassfish\modules\gf-web-conn
ector.jar;C:\glassfishv3\glassfish\modules\gfprobe-provider-client.jar;C:\glassf
ishv3\glassfish\modules\glassfish-api.jar;C:\glassfishv3\glassfish\modules\glass
fish-corba-asm.jar;C:\glassfishv3\glassfish\modules\glassfish-corba-codegen.jar;
C:\glassfishv3\glassfish\modules\glassfish-corba-csiv2-idl.jar;C:\glassfishv3\gl
assfish\modules\glassfish-corba-newtimer.jar;C:\glassfishv3\glassfish\modules\gl
assfish-corba-omgapi.jar;C:\glassfishv3\glassfish\modules\glassfish-corba-orb.ja
r;C:\glassfishv3\glassfish\modules\glassfish-corba-orbgeneric.jar;C:\glassfishv3
\glassfish\modules\glassfish-ee-api.jar;C:\glassfishv3\glassfish\modules\glassfi
sh-extra-jre-packages.jar;C:\glassfishv3\glassfish\modules\glassfish-mbeanserver
.jar;C:\glassfishv3\glassfish\modules\glassfish-naming.jar;C:\glassfishv3\glassf
ish\modules\glassfish-oracle-jdbc-driver-packages.jar;C:\glassfishv3\glassfish\m
odules\glassfish-registration.jar;C:\glassfishv3\glassfish\modules\glassfish.jar
;C:\glassfishv3\glassfish\modules\grizzly-comet.jar;C:\glassfishv3\glassfish\mod
ules\grizzly-cometd.jar;C:\glassfishv3\glassfish\modules\grizzly-compat.jar;C:\g
lassfishv3\glassfish\modules\grizzly-config.jar;C:\glassfishv3\glassfish\modules
\grizzly-container.jar;C:\glassfishv3\glassfish\modules\grizzly-framework.jar;C:
\glassfishv3\glassfish\modules\grizzly-http-servlet.jar;C:\glassfishv3\glassfish
\modules\grizzly-http.jar;C:\glassfishv3\glassfish\modules\grizzly-jruby-module.
jar;C:\glassfishv3\glassfish\modules\grizzly-jruby.jar;C:\glassfishv3\glassfish
modules\grizzly-messagesbus.jar;C:\glassfishv3\glassfish\modules\grizzly-portuni
f.jar;C:\glassfishv3\glassfish\modules\grizzly-rcm.jar;C:\glassfishv3\glassfish
modules\grizzly-scripting-common.jar;C:\glassfishv3\glassfish\modules\grizzly-ut
ils.jar;C:\glassfishv3\glassfish\modules\hk2-core.jar;C:\glassfishv3\glassfish\m
odules\hk2.jar;C:\glassfishv3\glassfish\modules\inmemory.jacc.provider.jar;C:\gl
assfishv3\glassfish\modules\internal-api.jar;C:\glassfishv3\glassfish\modules\ja
ckson-asl.jar;C:\glassfishv3\glassfish\modules\javax.annotation.jar;C:\glassfish
v3\glassfish\modules\javax.ejb.jar;C:\glassfishv3\glassfish\modules\javax.enterp
rise.deploy.jar;C:\glassfishv3\glassfish\modules\javax.jms.jar;C:\glassfishv3\gl
assfish\modules\javax.mail.jar;C:\glassfishv3\glassfish\modules\javax.management
.j2ee.jar;C:\glassfishv3\glassfish\modules\javax.persistence.jar;C:\glassfishv3
glassfish\modules\javax.resource.jar;C:\glassfishv3\glassfish\modules\javax.secu
rity.auth.message.jar;C:\glassfishv3\glassfish\modules\javax.security.jacc.jar;C
:\glassfishv3\glassfish\modules\javax.servlet.jar;C:\glassfishv3\glassfish\modul
es\javax.servlet.jsp.jar;C:\glassfishv3\glassfish\modules\javax.servlet.jsp.jstl
.jar;C:\glassfishv3\glassfish\modules\javax.transaction.jar;C:\glassfishv3\glass
fish\modules\jaxb-osgi.jar;C:\glassfishv3\glassfish\modules\jdbc-admin.jar;C:\gl
assfishv3\glassfish\modules\jersey-gf-bundle.jar;C:\glassfishv3\glassfish\module
s\jettison.jar;C:\glassfishv3\glassfish\modules\jms-admin.jar;C:\glassfishv3\gla
ssfish\modules\jms-core.jar;C:\glassfishv3\glassfish\modules\jmxremote_optional-
repackaged.jar;C:\glassfishv3\glassfish\modules\jpa-connector.jar;C:\glassfishv3
\glassfish\modules\jsf-api.jar;C:\glassfishv3\glassfish\modules\jsf-connector.ja
r;C:\glassfishv3\glassfish\modules\jsf-impl.jar;C:\glassfishv3\glassfish\modules
\jsftemplating.jar;C:\glassfishv3\glassfish\modules\json.jar;C:\glassfishv3\glas
sfish\modules\jsp-impl.jar;C:\glassfishv3\glassfish\modules\jsr109-impl.jar;C:\g
lassfishv3\glassfish\modules\jsr311-api.jar;C:\glassfishv3\glassfish\modules\jst
l-api.jar;C:\glassfishv3\glassfish\modules\jstl-connector.jar;C:\glassfishv3\gla
ssfish\modules\jstl-impl.jar;C:\glassfishv3\glassfish\modules\jta.jar;C:\glassfi
shv3\glassfish\modules\jts.jar;C:\glassfishv3\glassfish\modules\kernel.jar;C:\gl
assfishv3\glassfish\modules\launcher.jar;C:\glassfishv3\glassfish\modules\ldapbp
-repackaged.jar;C:\glassfishv3\glassfish\modules\mejb.jar;C:\glassfishv3\glassfi
sh\modules\mojarra-scales.jar;C:\glassfishv3\glassfish\modules\monitoring-core.j
ar;C:\glassfishv3\glassfish\modules\orb-connector.jar;C:\glassfishv3\glassfish\m
odules\orb-iiop.jar;C:\glassfishv3\glassfish\modules\org.apache.felix.configadmi
n.jar;C:\glassfishv3\glassfish\modules\org.apache.felix.fileinstall.jar;C:\glass
fishv3\glassfish\modules\org.apache.felix.shell.jar;C:\glassfishv3\glassfish\mod
ules\org.apache.felix.shell.remote.jar;C:\glassfishv3\glassfish\modules\org.apac
he.felix.shell.tui.jar;C:\glassfishv3\glassfish\modules\org.eclipse.persistence.
antlr.jar;C:\glassfishv3\glassfish\modules\org.eclipse.persistence.asm.jar;C:\gl
assfishv3\glassfish\modules\org.eclipse.persistence.core.jar;C:\glassfishv3\glas
sfish\modules\org.eclipse.persistence.jpa.jar;C:\glassfishv3\glassfish\modules\o
rg.eclipse.persistence.oracle.jar;C:\glassfishv3\glassfish\modules\osgi-adapter.
jar;C:\glassfishv3\glassfish\modules\osgi-container.jar;C:\glassfishv3\glassfish
\modules\osgi-main.jar;C:\glassfishv3\glassfish\modules\persistence-common.jar;C
:\glassfishv3\glassfish\modules\pkg-client.jar;C:\glassfishv3\glassfish\modules
realms.jar;C:\glassfishv3\glassfish\modules\registration-api.jar;C:\glassfishv3
glassfish\modules\registration-impl.jar;C:\glassfishv3\glassfish\modules\schema2
beans-repackaged.jar;C:\glassfishv3\glassfish\modules\security.jar;C:\glassfishv
3\glassfish\modules\securitycommon.jar;C:\glassfishv3\glassfish\modules\server-m
gmt.jar;C:\glassfishv3\glassfish\modules\servlet-api.jar;C:\glassfishv3\glassfis
h\modules\stats77.jar;C:\glassfishv3\glassfish\modules\sun-as-jsr88-dm.jar;C:\gl
assfishv3\glassfish\modules\sysnet-registration-repackaged.jar;C:\glassfishv3\gl
assfish\modules\tiger-types-osgi.jar;C:\glassfishv3\glassfish\modules\transactio
n-internal-api.jar;C:\glassfishv3\glassfish\modules\war-util.jar;C:\glassfishv3
glassfish\modules\web-ajp.jar;C:\glassfishv3\glassfish\modules\web-cli.jar;C:\gl
assfishv3\glassfish\modules\web-core.jar;C:\glassfishv3\glassfish\modules\web-gl
ue.jar;C:\glassfishv3\glassfish\modules\web-gui-plugin-common.jar;C:\glassfishv3
\glassfish\modules\web-naming.jar;C:\glassfishv3\glassfish\modules\webbeans-inte
gration.jar;C:\glassfishv3\glassfish\modules\webbeans-osgi-bundle.jar;C:\glassfi
shv3\glassfish\modules\websecurity.jar;C:\glassfishv3\glassfish\modules\webservi
ces-osgi.jar;C:\glassfishv3\glassfish\modules\webservices.security.jar;C:\glassf
ishv3\glassfish\modules\work-management.jar;C:\glassfishv3\glassfish\lib\javaee.
jar;C:\glassfishv3\glassfish\lib\jsf-api.jar;C:\glassfishv3\glassfish\lib\jsf-im
pl.jar;C:\glassfishv3\glassfish\lib\appserv-jstl.jar;C:\glassfishv3\glassfish\li
b\commons-logging.jar;C:\glassfishv3\glassfish\lib\webservices-rt.jar;C:\glassfi
shv3\glassfish\lib\webservices-tools.jar;C:\glassfishv3\glassfish\bin

Environment

Operating System: All
Platform: All

Affected Versions

[javaee5]

managed-beans.war project missing 2 library jars

building managed-beans-war project with netbeans gets fewer errors when
building against gfv3.0.1 than gfv3.1b24 – but still gets errors.

to build against gfv3.1b24 needed to add to the project libraries
jersey-core.jar, and jersey-gf-server.jar

using netbeans 6.9.1; samples checked out few days ago; gfv3.1b24

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

reference to developer's home directory

in ws/bp-project/jaxws.xml...

every person will need to change this before the webservice samples will work
correctly

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

webbeans sample is free form

should be a regular web app project... probably.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

force a build failure...

if a sample needs to have extra configuration done before it is run.

For example: the mailconnector sample requires additional configuration... but
the build should make it clear that the project is not useful until the user
does the necessary configuration.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

no build.xml file in webbeans-guess

It doesn't look like a build.xml file was checked in with the rest of the code.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

security samples use parallel builds

instead of unified...

should be unified. One build.xml file at the root of the sample... without an
nbbuild.xml next to it...

should be filed under security/javaee6

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

absolute-...fragments-war requires resolve references manually

-This problem only happens on Mac OSX
-If select to open the the project with option "Open Required Projects" the
"References Problem" dialog wil appears.

Steps To Reproduce:
1. Install NB 6.8 Nightly build (11/04/2009)
2. Install SDK6-b27 (b71) build
3. Start the IDE -> open the web absolute-ordering-web-fragments-war project
Note:
In order to select the "Open Required Projects" option, you might need to
open the "servletcontainerinitilizer-war" first

Environment

Operating System: All
Platform: Macintosh

Affected Versions

[javaee6]

scrumtoys JSF app is still broken

does not compile with latest gf v3 b70 (see bean validation apis changes).
Also warnings in the NB or Eclipse IDEs.

regarding face-config and
com.sun.facelets.FaceletViewHandler

or

jsfcomps.tld

Need a complete retesting...

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

Messageboard sample throw MessageBodyProviderNotFoundException Exc.

The REST Messageboard sample work fine on GF 4.0 (build 89) but throw a MessageBodyProviderNotFoundException on GF 4.0.1

javax.servlet.ServletException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyWriter not found for media type=application/x-javascript, type=class java.util.LinkedList, genericType=interface java.util.List.

https://java.net/projects/glassfish-samples/sources/svn/show/trunk/ws/javaee7/rest/message-board?rev=1210

Environment

GF 4.0.1 Nightly Build (6/3 - build 6) on OS X (Java SE 1.8.0_05)

Affected Versions

[javaee7]

update source files with CDDL + GPL license text

Since Samples project has been approved for CDDL + GPL, we need to update the
source files.

Here is the text:
http://fisheye5.cenqua.com/browse/~raw,r=1.2/glassfish/bootstrap/legal/CDDLGPLHeader.txt

and the instructions:
This text needs to be added to every source file which includes
.java, .h, .c, .xml, .properties (except for any translated type files).

Note that for .sh and .bat or template files, Sridatta said that it was
ok to just have:

Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

The .sh and .bat (or any template) files are very small
with some only have less than 5 lines in it. It would
be overwhelming to look at if we had to include the 35 lines
of text for the CDDL+GPL2 in it.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

ssl-jaxws-ear does not use SSL at all, although it should following it's description

Hello,
it seems demo webservices/ssl-jaxws-ear is not using SSL at all, although its
usage is advertised here: http://java.sun.com/javaee/reference/code/ as:
``Demonstrates the creation of a secure JAX-WS web service endpoint (https) and
accessing it using a Java application client. The service is protected at
transport level and accessed by performing SSL server-side authentication.''
Thanks for fixing this,
Karel

Environment

Operating System: Solaris
Platform: Sun

Affected Versions

[javaee5]

many unecessary file in repository

we should remove files that are generated by NetBeans as a project is opened
from the repository. These include nbproject/ant-deploy.xml,
nbproject/build-impl.xml, nbproject/genfiles.properties.

we also need to add these files to the .cvsignore file in the nbproject directories.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

javaee6 samples documentation

While I was testing javaee6 samples with latest build, I noticed the following
issues.

01
For "EJB 3.1 Embeddable API Sample Application", the page title shows "Automatic
Timer Sample application"

02
Description provided for all 3 jsf apps. is very small and it is not obvious
from this description what user will get. At least we should provide info on
ajax/jsf features which are going to be illustarted.

03
The links to both of the container apps. provided on list of samples are not
valid. Need to add 'web' before container.

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

ejb-embedded samples project -- multiple issues

using Samples svn checked out with last week; gfv3.1b24, netbeans 6.9.1;

Summary – with detail later in this post.

subproject ejb-embedded-client will not run – Until I changed its build.xml
to add the dist directory; see below

async-request-war project requires comet support disabled

Took me a day to discover reason would not work --with netbeans --if gfv301 or
gfv31b24 is configured to "enable comet support" – the project will not work
properly;

with "enable comet support" unchecked the project does work;

requires separate browsers – as mentioned; IE64bit and IE32bit count as
separate
browsers as does firefox, chrome.

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

mvn clean verify cargo:run Causes Failed Attempt To Access javaweb.us.oracle.com (for latest GF download)

Step 4 of Building, Deploying says:

Build, deploy, and run the sample application using the run outcome.

mvn clean verify cargo:run

Doing this produces the following exception:

org.codehaus.cargo.container.ContainerException: Failed to download http://javaweb.us.oracle.com/java/re/glassfish/4.0/promoted/b82/archive/bundles/latest-glassfish.zip
at org.codehaus.cargo.container.installer.ZipURLInstaller.download(ZipURLInstaller.java:433)
at org.codehaus.cargo.container.installer.ZipURLInstaller.install(ZipURLInstaller.java:223)
at org.codehaus.cargo.maven2.configuration.Container.setupHome(Container.java:793)
at org.codehaus.cargo.maven2.configuration.Container.createContainer(Container.java:460)
at org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(AbstractCargoMojo.java:735)
at org.codehaus.cargo.maven2.ContainerRunMojo.createNewContainer(ContainerRunMojo.java:150)
at org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(AbstractCargoMojo.java:655)
at org.codehaus.cargo.maven2.AbstractContainerStartMojo.doExecute(AbstractContainerStartMojo.java:52)
at org.codehaus.cargo.maven2.ContainerRunMojo.doExecute(ContainerRunMojo.java:86)
at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:457)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: in cargo code: java.net.UnknownHostException: javaweb.us.oracle.com
at org.apache.tools.ant.taskdefs.Get.execute(Get.java:82)
at org.codehaus.cargo.container.installer.ZipURLInstaller.doDownload(ZipURLInstaller.java:474)
at org.codehaus.cargo.container.installer.ZipURLInstaller.download(ZipURLInstaller.java:413)

Sample ws/javaee6/web/servlet/async-request-war does not work

1. Get the sources from CVS
2. Start NetBeans 6.8 dev build, and register GlassFish v3 promoted build in NB
(I used build 61)
3. Open sample ws/javaee6/web/servlet/async-request-war
4. Run the sample
5. Log in as "kate" in the browser window that appears (FireFox for me)
6. Open another browser (I used Safari) and open the same URL, then log in as
"lisa".
7. Post messages in lisa's or kate's chat window

Messages do not appear anywhere.

Environment

Operating System: Mac OS X
Platform: Macintosh

Affected Versions

[javaee5]

mod_jk sample doc. need to be improved

The doc. does not say how one can verify the working of mod_jk with glassfish v3.

Discuss with owner Amy Roh if needed.

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

Doc Link:The mod_jk Sample: Samples Main Page link missing

mod_jk Sample has Samples Main Page link missing

Steps To Reproduce:
1. Go to javaee6-samples download page
https://glassfish-samples.dev.java.net/servlets/ProjectDocumentList?folderID=5214&expandFolder=5214&folderID=0
to download the sample jar file
2. Open the ../javaee6/docs/list.html file
3. Click mod_jk Sample link -> click Samples Main Page link
BUG:
HTTP Status 404 (page missing)

Environment

Operating System: All
Platform: All

Affected Versions

[javaee6]

the bp framework doesn't handle connectors

there is no bp-project/connector-ant.xml file, so connector modules need to be
built with hand-coded build.xml files. This makes it harder to develop a
connector sample.

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

no nb instructions in...

glassfish-samples/ws/javaee6/security/programmatic-login/docs/index.html

Environment

Operating System: All
Platform: Sun

Affected Versions

[javaee5]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.