Giter VIP home page Giter VIP logo

structr / structr Goto Github PK

View Code? Open in Web Editor NEW
765.0 56.0 156.0 393.01 MB

Structr is an integrated low-code development and runtime environment that uses a graph database.

Home Page: https://structr.com

License: GNU General Public License v3.0

Shell 0.10% JavaScript 15.18% CSS 1.89% HTML 0.35% Java 82.22% Batchfile 0.01% Dockerfile 0.01% Sass 0.11% SCSS 0.14%
low-code low-code-development-platform productivity frontend-framework web-development web-application-framework backend backend-framework open-api data-modeling

structr's Introduction

Structr CI Pipeline Hits-of-Code Docker Pulls

What is Structr?

Structr is an integrated low-code development and runtime environment that uses a graph database. With Structr, you can build enterprise web applications many times faster than with traditional development methods and run them directly on the Structr server in the same environment.

Structr provides low-code capabilities that allow users without extensive development skills to create simple applications, while experienced developers can create sophisticated, state-of-the-art enterprise solutions with 100% flexibility in all areas.

This unique combination of low-code and pro-code capabilities makes Structr an exceptionally useful and productive tool for application development, and its graph technology makes it the perfect platform for all connected data use cases.

Benefits

See https://structr.com/product/benefits.

Features

See https://structr.com/product/features.

Download

Download the official binary packages from https://structr.com/resources/download.

There are docker images available on https://hub.docker.com/r/structr/structr/.

A more versatile setup is described here: https://github.com/structr/docker-setup

Licensing

Structr is dual licensed under the GPLv3/AGPLv3 and a commercial license. To use Structr without the restrictions of the Open Source licenses and get vendor support, please contact us at https://structr.com/contact.

Documentation

The documentation can be found at https://docs.structr.com/docs.

Installation and Setup

Prerequisites are the GraalVM 11 JDK. See https://docs.structr.com/docs/running-structr#installation for instructions on how to install and start Structr.

First Login

Login with the default credentials admin/admin at: http://localhost:8082/structr/

Community Support

For general questions and discussions please use the Structr Google Group or send an e-mail to [email protected].

Technical questions should be asked on stackoverflow: https://stackoverflow.com/questions/tagged/structr

Report Bugs

You can submit issues (bugs, feature requests etc.) on the issue-tracker. Please don't ask questions or discuss general topics in the issue system.

Copyright and License

Copyright 2010-2023 Structr GmbH

structr's People

Contributors

amorgner avatar ascheman avatar bags307 avatar chengdaqi2023 avatar ckramp avatar cmorgner avatar dependabot[bot] avatar derkaiserreich avatar dlaske avatar eric-schleicher avatar hwloh avatar jbellmann avatar jlaenge avatar jotomo avatar kschwaiger avatar l-1 avatar lazaridiscom avatar michaelheilmann avatar mingfang avatar quiksilveritaly avatar ravensorb avatar roskenet avatar salvatore-piccione avatar shepdl avatar tobias-schmitt avatar vigorouscoding avatar wayneriesterer avatar whatsocks 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  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  avatar  avatar  avatar  avatar  avatar  avatar

structr's Issues

Structr-UI content not visible

From 0.7.M03 was able to build, create admin, and successfully log in following quick-start.

Values persist in the left pane but not appearing in the center edit pane. Clicking the view icon and visiting the site shows an empty DOM.

screen shot 2013-05-16 at 9 50 10 pm

22:04:43 ~/structr/structr-ui$ uname -a
Darwin Davids-MacBook-Air.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

22:04:39 ~/structr/structr-ui$ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)

This is the only error I've seen:

2013-05-16 22:08:49.482:WARN:oejs.AbstractHttpConnection:Failed UTF-8 decode for request path, trying ISO-8859-1
2013-05-16 22:08:49.482:WARN:oejs.AbstractHttpConnection:/structr/-webkit-gradient(linear,%200%%20100%,%200%%200%,%20from(rgb(227,%20227,%20227)),%20to(rgb(243,%20243,%20243)))
java.lang.NumberFormatException: %2
    at org.eclipse.jetty.util.TypeUtil.parseInt(TypeUtil.java:319)
    at org.eclipse.jetty.http.HttpURI.getDecodedPath(HttpURI.java:655)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:466)
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Thread.java:680)

Ui: table editor / table "inserter"

It would be nice to have a "table inserter" that inserts a selected number of tables and rows into the document. Maybe by inserting an "expander" element that expands itself into the desired number of rows and columns.

mvn build error - bad URL?

Following the quick start guide, http://structr.org/quick-start-guide. When I attempt to compile with maven, it chokes trying to get http://maven.structr.org:8082/artifactory/release/org/neo4j/neo4j-graph-collections/0.5-SNAPSHOT/neo4j-graph-collections-0.5-SNAPSHOT.pom

I'm sure that there is a simple solution for this, but I don't trust myself enough to start poking too hard.

Thanks for your help! Here's the entire transcript of my attempt to compile.

~$ mvn clean install -DskipTests

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.structr:structr-ui:jar:0.6
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 130, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] structr
[INFO] structr-simple-example-archetype
[INFO] structr-base-archetype
[INFO] structr-core
[INFO] structr-rest
[INFO] structr-websocket
[INFO] structr-server
[INFO] structr-ui
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building structr 0.6
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ structr ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ structr ---
[INFO] Installing /Users/erickpeirson/structr/pom.xml to /Users/erickpeirson/.m2/repository/org/structr/structr/0.6/structr-0.6.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building structr-simple-example-archetype 0.6
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ structr-simple-example-archetype ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ structr-simple-example-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ structr-simple-example-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-archetype-plugin:2.2:jar (default-jar) @ structr-simple-example-archetype ---
[INFO] Building archetype jar: /Users/erickpeirson/structr/structr-simple-example-archetype/target/structr-simple-example-archetype-0.6
[INFO]
[INFO] --- maven-archetype-plugin:2.2:integration-test (default-integration-test) @ structr-simple-example-archetype ---
[INFO] Processing Archetype IT project: basic
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: structr-simple-example-archetype:0.6
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: basic
[INFO] Parameter: version, Value: 0.1-SNAPSHOT
[INFO] Parameter: package, Value: it.pkg
[INFO] Parameter: packageInPathFormat, Value: it/pkg
[INFO] Parameter: version, Value: 0.1-SNAPSHOT
[INFO] Parameter: package, Value: it.pkg
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: basic
[INFO] project created from Archetype in dir: /Users/erickpeirson/structr/structr-simple-example-archetype/target/test-classes/projects/basic/project/basic
[INFO] No post-archetype-generation goals to invoke.
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ structr-simple-example-archetype ---
[INFO] Installing /Users/erickpeirson/structr/structr-simple-example-archetype/target/structr-simple-example-archetype-0.6.jar to /Users/erickpeirson/.m2/repository/org/structr/structr-simple-example-archetype/0.6/structr-simple-example-archetype-0.6.jar
[INFO] Installing /Users/erickpeirson/structr/structr-simple-example-archetype/pom.xml to /Users/erickpeirson/.m2/repository/org/structr/structr-simple-example-archetype/0.6/structr-simple-example-archetype-0.6.pom
[INFO]
[INFO] --- maven-archetype-plugin:2.2:update-local-catalog (default-update-local-catalog) @ structr-simple-example-archetype ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building structr-base-archetype 0.6
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ structr-base-archetype ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ structr-base-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ structr-base-archetype ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-archetype-plugin:2.2:jar (default-jar) @ structr-base-archetype ---
[INFO] Building archetype jar: /Users/erickpeirson/structr/structr-base-archetype/target/structr-base-archetype-0.6
[INFO]
[INFO] --- maven-archetype-plugin:2.2:integration-test (default-integration-test) @ structr-base-archetype ---
[INFO] Processing Archetype IT project: basic
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: structr-base-archetype:0.6
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: basic
[INFO] Parameter: version, Value: 0.1-SNAPSHOT
[INFO] Parameter: package, Value: it.pkg
[INFO] Parameter: packageInPathFormat, Value: it/pkg
[INFO] Parameter: version, Value: 0.1-SNAPSHOT
[INFO] Parameter: package, Value: it.pkg
[INFO] Parameter: groupId, Value: archetype.it
[INFO] Parameter: artifactId, Value: basic
[INFO] project created from Archetype in dir: /Users/erickpeirson/structr/structr-base-archetype/target/test-classes/projects/basic/project/basic
[INFO] No post-archetype-generation goals to invoke.
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ structr-base-archetype ---
[INFO] Installing /Users/erickpeirson/structr/structr-base-archetype/target/structr-base-archetype-0.6.jar to /Users/erickpeirson/.m2/repository/org/structr/structr-base-archetype/0.6/structr-base-archetype-0.6.jar
[INFO] Installing /Users/erickpeirson/structr/structr-base-archetype/pom.xml to /Users/erickpeirson/.m2/repository/org/structr/structr-base-archetype/0.6/structr-base-archetype-0.6.pom
[INFO]
[INFO] --- maven-archetype-plugin:2.2:update-local-catalog (default-update-local-catalog) @ structr-base-archetype ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building structr-core 0.6
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.structr.org:8082/artifactory/release/org/neo4j/neo4j-graph-collections/0.5-SNAPSHOT/neo4j-graph-collections-0.5-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] structr ........................................... SUCCESS [0.526s]
[INFO] structr-simple-example-archetype .................. SUCCESS [1.848s]
[INFO] structr-base-archetype ............................ SUCCESS [0.038s]
[INFO] structr-core ...................................... FAILURE [2.572s]
[INFO] structr-rest ...................................... SKIPPED
[INFO] structr-websocket ................................. SKIPPED
[INFO] structr-server .................................... SKIPPED
[INFO] structr-ui ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.551s
[INFO] Finished at: Fri Feb 01 12:11:37 MST 2013
[INFO] Final Memory: 13M/204M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project structr-core: Could not resolve dependencies for project org.structr:structr-core:jar:0.6: Failed to collect dependencies for [junit:junit:jar:3.8.2 (test), org.neo4j:neo4j-kernel:jar:1.8.1 (compile), org.neo4j:neo4j-lucene-index:jar:1.8.1 (compile), org.neo4j:neo4j-spatial:jar:0.10-SNAPSHOT (compile), org.neo4j:neo4j-cypher:jar:1.8.1 (compile), com.tinkerpop.gremlin:gremlin-groovy:jar:1.5 (compile), commons-io:commons-io:jar:2.4 (compile), commons-codec:commons-codec:jar:1.7 (compile), commons-collections:commons-collections:jar:3.2.1 (compile), dom4j:dom4j:jar:1.6.1 (compile), com.mortennobel:java-image-scaling:jar:0.8.5 (compile), javax.servlet:javax.servlet-api:jar:3.0.1 (compile), net.sf.opencsv:opencsv:jar:2.3 (compile), jmimemagic:jmimemagic:jar:0.1.2 (compile), org.apache.commons:commons-email:jar:1.2 (compile), com.google.code.gson:gson:jar:2.2.2 (compile), org.fusesource.hawtdb:hawtdb:jar:1.6 (compile)]: Failed to read artifact descriptor for org.neo4j:neo4j-graph-collections:jar:0.5-SNAPSHOT: Could not transfer artifact org.neo4j:neo4j-graph-collections:pom:0.5-SNAPSHOT from/to releases.maven.structr.org (http://maven.structr.org:8082/artifactory/release): Error transferring file: Server returned HTTP response code: 409 for URL: http://maven.structr.org:8082/artifactory/release/org/neo4j/neo4j-graph-collections/0.5-SNAPSHOT/neo4j-graph-collections-0.5-SNAPSHOT.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :structr-core

Possible new node types

  • RSS source node for linking with AppList
  • Filesystem source node for AppList
  • HtmlFile node for linking JavaDocs / other

GIT Clone not working properly

My apologies if this is not a bug

user@user-VirtualBox:~$ git clone https://github.com/structr/structr.git
Cloning into 'structr'...
remote: Counting objects: 60223, done.
remote: Compressing objects: 100% (17323/17323), done.
error: RPC failed; result=56, HTTP code = 200iB | 38 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Implement entity-based RPCs

It would be nice to have external (REST-based) access to entity class methods, including automatic validation, security etc.

Entity names cannot be CamelCase?

An CamelCase named entity, e.g., PersonalItem, cannot be accessed through the REST interface, since .../structr/rest/personalitems maps to Personalitems.

How to develop a bigger site?

Question. I tried Structr last summer. Via Twitter I asked for documentation on making a Hello World website. About one day later there were new instructions on the Structr site. That helped me get going a little bit. Thanks for that.

During the past months I followed the site a little bit, hoping for more documentation. With the available documentation I wasn't able to build anything useful. On Twitter I saw that there's at least one site busing Structr. I do not know how these people built that site. Did they read the source code? I'm still interested in using Structr, but I need more help or I need examples. Maybe it is possible to import the Structr.org site as an example for me.

The first thing I need to understand is how to use templates to place certain nodes at specific places on a page.

Thanks for this interesting piece of software.

Fred

Fail to start structr - Exception while creating command org.structr.core.node.FindNodeCommand

I installed the Pre-built Binaries according to the manual on windows (WAR under tomcat 6.0.14, configuration under c:\structr).
The application fail to start. 2 exceptions in logs.

stderr.log:

17/08/2011 21:06:36 org.structr.core.Services command
SEVERE: Exception while creating command org.structr.core.node.FindNodeCommand
java.lang.NullPointerException
at org.structr.core.Services.getAbsolutePath(Services.java:426)
at org.structr.core.Services.getPath(Services.java:356)
at org.structr.core.Services.getDatabasePath(Services.java:122)
at org.structr.core.node.NodeService.initialize(NodeService.java:66)
at org.structr.core.Services.createService(Services.java:397)
at org.structr.core.Services.command(Services.java:209)
at org.structr.core.cloud.CloudService.(CloudService.java:70)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.structr.core.Services.createService(Services.java:393)
at org.structr.core.Services.command(Services.java:209)
at org.structr.context.ApplicationContextListener.contextInitialized(ApplicationContextListener.java:161)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

It repeats itself also for the following: CreateRelationshipCommand, NodeFactoryCommand, ExtendConfigCommand

stdout:

java.lang.RuntimeException: required configuration 'pages' element missing.
at org.structr.ui.config.StructrConfigService.loadPages(StructrConfigService.java:1028)
at org.structr.ui.config.StructrConfigService.onInit(StructrConfigService.java:279)
at org.apache.click.ClickServlet.initConfigService(ClickServlet.java:2054)
at org.apache.click.ClickServlet.init(ClickServlet.java:197)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Generic data node form

When using AppList, DataNodes & Templates to display node lists or tables, a generic data node form would greatly increase usability.

structr-webapp-0.3 login user

Hi,

The structr-webapp-0.3 web app is installed fine on Tomcat and the login page comes up.
What is the default user and password to login to the structr web app?

Thanks,
Vidya

Cannot modify contents of newly created files

Files can only be modified if they are created by an upload, empty files do not have a filesystem entry and zero size, so I suspect that a non-existing file is not created correctly.

Tomcat Deployment Problem

Thanks for the structr project.
I'm trying to use it, but the war deployment fails on my machine:
Server version: Apache Tomcat/6.0.28
Server built: February 12 2011 1443
Server number: ...0
OS Name: Linux
OS Version: 2.6.32-5-amd64
Architecture: amd64
JVM Version: 1.6.0_18-b18
JVM Vendor: Sun Microsystems Inc.

Bootstrap:
05.01.2012 16:16:09 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive structr-webapp-0.4.4.war
05.01.2012 16:16:10 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/lib/tomcat6/webapps/structr-webapp-0.4.4/WEB-INF/lib/servlet-api-3.0.20100224.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
05.01.2012 16:16:10 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/lib/tomcat6/webapps/structr-webapp-0.4.4/WEB-INF/lib/servlet-api-6.0.30.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Servlet context created
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file configured services: null
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file application title: structr (localhost)
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file temp path: /tmp
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file base path: null
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file database path: /opt/structr/db
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file files path: /opt/structr/files
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file modules path: /opt/structr/modules
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file server IP: null
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file TCP port: 54555
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file UDP port: 57555
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file superuser username: ###
05.01.2012 16:16:11 org.structr.context.ApplicationContextListener contextInitialized
INFO: Config file superuser password: ###
05.01.2012 16:16:11 org.structr.core.Services initialize
INFO: Initializing service layer
05.01.2012 16:16:11 org.structr.core.Services initialize
INFO: Starting services
05.01.2012 16:16:11 org.structr.core.module.ModuleService getActiveModuleNames
INFO: Module: structr-module-gis-0.4.4.jar (active)
05.01.2012 16:16:11 org.structr.core.module.ModuleService getActiveModuleNames
INFO: Module: structr-module-app-0.4.4.jar (active)
05.01.2012 16:16:11 org.structr.core.module.ModuleService getActiveModuleNames
INFO: Module: structr-module-web-0.4.4.jar (active)
05.01.2012 16:16:11 org.structr.core.module.ModuleService getActiveModuleNames
INFO: Module: structr-module-chart-0.4.4.jar (active)
05.01.2012 16:16:11 org.structr.core.module.ModuleService getActiveModuleNames
INFO: Module: structr-core-0.4.4.jar (active)
05.01.2012 16:16:11 org.structr.core.module.ModuleService initializeModules
INFO: Found 5 active modules
05.01.2012 16:16:58 org.structr.core.log.LogService run
INFO: Starting LogService
05.01.2012 16:16:58 org.structr.core.agent.AgentService run
INFO: AgentService started
05.01.2012 16:16:58 org.structr.core.cloud.CloudService startService
INFO: KryoNet server started
05.01.2012 16:16:58 org.structr.core.cloud.CloudService startService
INFO: KryoNet server listening on TCP port 54.555 and UDP port 57.555
05.01.2012 16:16:58 org.structr.core.node.NodeService initialize
INFO: Initializing database (/opt/structr/db) ...
05.01.2012 16:16:58 org.structr.core.node.NodeService initialize
INFO: Database config not found
05.01.2012 16:17:01 org.structr.core.node.NodeService initialize
INFO: Database ready.
05.01.2012 16:17:01 org.structr.core.node.CacheService initialize
INFO: Initializing cache ...
05.01.2012 16:17:01 org.structr.core.node.CacheService initialize
INFO: Cache ready.
05.01.2012 16:17:01 org.structr.core.Services initialize
INFO: 8 service(s) processed
05.01.2012 16:17:01 org.structr.core.Services initialize
INFO: Initialization complete
05.01.2012 16:17:01 org.structr.context.ApplicationContextListener contextInitialized
INFO: structr application context initialized (structr started successfully)
05.01.2012 16:17:01 org.structr.rest.servlet.JsonRestServlet init
INFO: Injecting constraints from provider de.splink.sgdb.common.SplinkConstraintProvider
05.01.2012 16:17:01 org.structr.rest.servlet.JsonRestServlet init
WARNUNG: Unable to inject external resource constraints
java.lang.ClassNotFoundException: de.splink.sgdb.common.SplinkConstraintProvider
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at org.structr.rest.servlet.JsonRestServlet.init(JsonRestServlet.java:132)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4659)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:636)
05.01.2012 16:17:01 org.structr.rest.servlet.JsonRestServlet init
INFO: Setting default property view to default
05.01.2012 16:17:01 org.structr.rest.servlet.JsonRestServlet init
INFO: Setting default id property to uuid
05.01.2012 16:17:01 org.structr.rest.servlet.JsonRestServlet initializePropertyFormat
INFO: Setting property format to FlatNameValue

Can you help me to get structr deployed?

Waldemar

Neo4j Database fails to initialise on firstrun

Following the quick-start instructions from website works fine, can load frontend site but trying to seed the initial users fails.

Environment

# uname -a
Linux hackery 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
# java -version
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
# git rev-list --max-count=1 HEAD
ef96506bf82d33dba80702361da7ac6fee5456da

Manually running the seed command for admin user gives following JSON result:

root@hackery:/data/opt/structr/structr-ui# curl -i http://localhost:8082/structr/rest/users -d'{"name":"admin","password":"admin", "frontendUser":true, "backendUser":true }' -HX-User:superadmin -HX-Password:XXXXXXXXXXXX
HTTP/1.1 500 Server Error
Content-Type: application/json; charset=UTF-8
Transfer-Encoding: chunked
Server: Jetty(8.1.0.RC5)

{
  "code" : 500,
  "error" : "JsonSyntaxException in POST: null"
}

Console output from daemon:

Mar 02, 2013 2:17:25 PM org.structr.core.auth.AuthHelper getUserForUsernameAndPassword
INFO: ############# Authenticated as superadmin! ############
Mar 02, 2013 2:17:25 PM org.structr.core.graph.NodeService initialize
INFO: Initializing database (/data/opt/structr/structr-ui/db) ...
Mar 02, 2013 2:17:25 PM org.structr.core.graph.NodeService initialize
INFO: Database config /data/opt/structr/structr-ui/db/neo4j.conf not found
java.lang.IllegalArgumentException: Bad value '-16M' for setting 'neostore.propertystore.db.strings.mapped_memory': value does not match expression:\d+[kmgKMG]?
        at org.neo4j.helpers.Settings$DefaultSetting.apply(Settings.java:788)
        at org.neo4j.helpers.Settings$DefaultSetting.apply(Settings.java:708)
        at org.neo4j.graphdb.factory.GraphDatabaseSetting$SettingWrapper.apply(GraphDatabaseSetting.java:215)
        at org.neo4j.graphdb.factory.GraphDatabaseSetting$SettingWrapper.apply(GraphDatabaseSetting.java:189)
        at org.neo4j.kernel.configuration.ConfigurationValidator.validate(ConfigurationValidator.java:50)
        at org.neo4j.kernel.configuration.Config.applyChanges(Config.java:119)
        at org.neo4j.kernel.InternalAbstractGraphDatabase.create(InternalAbstractGraphDatabase.java:312)
        at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:238)
        at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:88)
        at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:75)
        at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:60)
        at org.structr.core.graph.NodeService.initialize(NodeService.java:148)
        at org.structr.core.Services.createService(Services.java:379)
        at org.structr.core.Services.command(Services.java:157)
        at org.structr.rest.resource.Resource.findGrant(Resource.java:314)
        at org.structr.rest.resource.Resource.getGrant(Resource.java:402)
        at org.structr.rest.servlet.JsonRestServlet.doPost(JsonRestServlet.java:552)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:575)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1365)
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:181)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:519)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
        at org.eclipse.jetty.server.Server.handle(Server.java:351)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:451)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:931)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:611)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
        at java.lang.Thread.run(Thread.java:722)
Mar 02, 2013 2:17:25 PM org.structr.core.Services command
SEVERE: Exception while creating command org.structr.core.graph.search.SearchNodeCommand
java.lang.IllegalArgumentException: Bad value '-16M' for setting 'neostore.propertystore.db.strings.mapped_memory': value does not match expression:\d+[kmgKMG]?
        at org.neo4j.helpers.Settings$DefaultSetting.apply(Settings.java:788)
        at org.neo4j.helpers.Settings$DefaultSetting.apply(Settings.java:708)
        at org.neo4j.graphdb.factory.GraphDatabaseSetting$SettingWrapper.apply(GraphDatabaseSetting.java:215)
        at org.neo4j.graphdb.factory.GraphDatabaseSetting$SettingWrapper.apply(GraphDatabaseSetting.java:189)
        at org.neo4j.kernel.configuration.ConfigurationValidator.validate(ConfigurationValidator.java:50)
        at org.neo4j.kernel.configuration.Config.applyChanges(Config.java:119)
        at org.neo4j.kernel.InternalAbstractGraphDatabase.create(InternalAbstractGraphDatabase.java:312)
        at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:238)
        at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:88)
        at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:75)
        at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:60)
        at org.structr.core.graph.NodeService.initialize(NodeService.java:148)
        at org.structr.core.Services.createService(Services.java:379)
        at org.structr.core.Services.command(Services.java:157)
        at org.structr.rest.resource.Resource.findGrant(Resource.java:314)
        at org.structr.rest.resource.Resource.getGrant(Resource.java:402)
        at org.structr.rest.servlet.JsonRestServlet.doPost(JsonRestServlet.java:552)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:575)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1365)
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:181)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:519)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
        at org.eclipse.jetty.server.Server.handle(Server.java:351)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:451)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:931)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:611)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
        at java.lang.Thread.run(Thread.java:722)
(snip)

Rework maintenance page

The maintenance page should be split into multiple pages, or the multiple sub-views sould be rendered asynchronously.
Ideas:

  • Overview page ("Admin Dashboard") as landing page after admin login
  • Subpages/views for detail information

Services.basePath is not set by default

I am not sure if this is user error, but when I deploy structr in Tomcat 7.0, I always get a NullPointerException as Services.basePath is never set to any value and it always remains null. Hence any further call to Services.getDatabasePath() gets a NullPointerException.

unable to start structr

I get the following error
r-webapp-0.3/WEB-INF/lib/click-nodeps-2.3.0.jar
java.lang.RuntimeException: required configuration 'pages' element missing.
at org.structr.ui.config.StructrConfigService.loadPages(StructrConfigSer
vice.java:1028)
at org.structr.ui.config.StructrConfigService.onInit(StructrConfigServic
e.java:279)
at org.apache.click.ClickServlet.initConfigService(ClickServlet.java:205
4)
at org.apache.click.ClickServlet.init(ClickServlet.java:197)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.
java:1190)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1103)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:10
10)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4957)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:
5284)
at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:
5279)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
From what I could see, there is no pages element in the click.xml
What do I need in order to make the structr webapp to come up?

mvn build error - Failure to find org.neo4j:neo4j-spatial:jar:0.9-SNAPSHOT in http://m2.neo4j.org/content/groups/everything

Fixed by removing "SNAPSHOT" in structr-core pom.xml

 diff --git a/structr/structr-core/pom.xml b/structr/structr-core/pom.xml
index 3a2f937..b3c148a 100644
--- a/structr/structr-core/pom.xml
+++ b/structr/structr-core/pom.xml
@@ -60,7 +60,7 @@
         <dependency>
             <groupId>org.neo4j</groupId>
             <artifactId>neo4j-spatial</artifactId>
-            <version>0.9-SNAPSHOT</version>
+            <version>0.9</version>
             <exclusions>
                 <!--                <exclusion>
                     <groupId>org.neo4j</groupId>

[ERROR] Failed to execute goal on project structr-core: Could not resolve dependencies for project org.structr:structr-core:jar:0.5.3: Failure to find org.neo4j:neo4j-spatial:jar:0.9-SNAPSHOT in http://m2.neo4j.org/content/groups/everything was cached in the local repository, resolution will not be reattempted until the update interval of neo4j-public-repository has elapsed or updates are forced -> [Help 1]

java.util.zip.ZipException: error in opening zip file

Hello,

i used the quickstart guide to install structr with tomcat 7.0.20. Started with step 6 i followed the instruction but now i get the following error WARNUNG: Error loading module tructr-core-0.4.jar: java.util.zip.ZipException: error in opening zip file all the other modules loading fine. I unzipped the jar and zipped it new but that doesn't solve the problem.

I also found a error in the documentation the link http://localhost:8080/structr-webapp-0.4/ refer to http://localhost:8080/structr-webapp-0.3/

Regards,

Michael

Catch Deadlock exeption and retry

Under rare circumstances (f.e. massive parallel access) a DeadlockException can occure. This should be catched and the operation should be retried.

cannot get past login screen

I must be missing something obvious.

When I use the credentials as set in the structr.conf file
e.g.
superuser.username = superadmin
superuser.password = lk09zhi3qg
I get a login error.

"Wrong username or password, or user is blocked. Check caps lock. Note: Username is case sensitive!"

Changing this to other values makes no difference.

Or do I need to look elsewhere for creating users?

Remove "... = false" entries in structr.conf

Set a sensible default and write the commented-out "positive" options into the default structr.conf, f.e. for https:

SSL Configuration

run this command to create a selfsigned certificate:

'keytool -genkey -keyalg RSA -alias selfsigned -keystore [KEYSTORE_FILE] -storepass [KEYSTORE_PASSWORD] -validity 360 -keysize 2048'

application.https.enabled = true

application.https.port = 8083

application.keystore.path = [KEYSTORE_FILE]

application.keystore.password = [KEYSTORE_PASSWORD]

build error

Hi there,
building structr, I get

[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/peterneubauer/code/structr/structr/structr-webapp/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp[structr-webapp] in [/Users/peterneubauer/code/structr/structr/structr-webapp/target/structr-webapp-0.3]
[INFO] Processing war project
[INFO] Copying webapp resources[/Users/peterneubauer/code/structr/structr/structr-webapp/src/main/webapp]
[INFO] Webapp assembled in[1255 msecs]
[INFO] Building war: /Users/peterneubauer/code/structr/structr/structr-webapp/target/structr-webapp-0.3.war
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 22 seconds
[INFO] Finished at: Wed Jun 01 14:50:29 CEST 2011
[INFO] Final Memory: 39M/86M
[INFO] ------------------------------------------------------------------------

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.